A function to extract the slot time
from an object of
class WaterLevelDataFrame.
Arguments
- x
an object of class WaterLevelDataFrame.
Value
The function above extracts the slot time
and returns an
object of type c("POSIXct", "POSIXt")
.
Examples
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
getTime(wldf)
#> [1] "2016-12-21 CET"