getTime | R Documentation |
A function to extract the slot time
from an object of
class WaterLevelDataFrame.
getTime(x)
## S4 method for signature 'WaterLevelDataFrame'
getTime(x)
x |
an object of class WaterLevelDataFrame. |
The function above extracts the slot time
and returns an
object of type c("POSIXct", "POSIXt")
.
setTime<–method
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
getTime(wldf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.