getGaugingStations {hyd1d} | R Documentation |
Extract a WaterLevelDataFrame's slot gauging_stations
Description
A function to extract the slot gauging_stations
from an
object of class WaterLevelDataFrame.
Usage
getGaugingStations(x)
## S4 method for signature 'WaterLevelDataFrame'
getGaugingStations(x)
Arguments
x |
an object of class WaterLevelDataFrame. |
Value
The function above extracts the slot gauging_stations
and
returns an object of class data.frame
, which might
contain gauging station data that have been used for the interpolation of a
water level for the specified date.
See Also
Examples
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
wldf <- waterLevel(wldf)
getGaugingStations(wldf)
[Package hyd1d version 0.5.2 Index]