Set a WaterLevelDataFrame's slot gauging_stations_missing
Source:R/WaterLevelDataFrame-methods.R
setGaugingStationsMissing.Rd
A function to set the slot gauging_stations_missing
of
an object of class WaterLevelDataFrame.
Usage
setGaugingStationsMissing(x) <- value
# S4 method for class 'WaterLevelDataFrame,character'
setGaugingStationsMissing(x) <- value
Arguments
- x
an object of class WaterLevelDataFrame.
- value
a new value of class
character
for thegauging_stations_missing
slot.
Value
The function above sets a new value
for the slot
gauging_stations_missing
and returns an object of class
WaterLevelDataFrame.
Examples
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
setGaugingStationsMissing(wldf) <- as.character("VOCKERODE")