WaterLevelDataFrame {hyd1d} | R Documentation |
Initialize a WaterLevelDataFrame
Description
To initialize an object of class WaterLevelDataFrame this function should be used. It checks all the required input data and validates the final object.
Usage
WaterLevelDataFrame(
river = c("Elbe", "Rhine"),
time,
gauging_stations = NULL,
gauging_stations_missing = NULL,
comment = NULL,
id = NULL,
station = NULL,
station_int = NULL,
w = NULL
)
Arguments
river |
a required argument to fill the WaterLevelDataFrame-slot
|
time |
a required argument to fill the WaterLevelDataFrame-slot
|
gauging_stations |
a slot of class |
gauging_stations_missing |
an optional argument to fill the
WaterLevelDataFrame-slot |
comment |
an optional argument to fill the
WaterLevelDataFrame-slot |
id |
an optional argument to hand over the |
station |
an optional argument to hand over the stationing along the
specified |
station_int |
an optional argument to hand over the stationing along the
specified |
w |
an optional argument to hand over the water level information along
the stationing of the specified |
Value
The function produces an object of class WaterLevelDataFrame which might contain 1d water level data and information to recompute it.
Examples
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
wldf <- waterLevel(wldf)