start
From timeSeries v3022.101.2
by Tobias Setz
Start and End of a 'timeSeries'
Returns start and/or end time stamps of a 'timeSeries' object.
- Keywords
- chron
Usage
"start"(x, ...)
"end"(x, ...)
Arguments
- x
-
an uni- or multivariate
timeSeries
object. - ...
- optional arguments passed to other methods.
Value
- returns a
timeSeries
object.Examples
library(timeSeries)
## Create Dummy timeSeries -
tS <- dummySeries()[, 1]
tS
## Return Start and end Time Stamp -
c(start(tS), end(tS))
range(time(tS))
Community examples
Looks like there are no examples yet.