base-start: Start and End of a 'timeSeries'

Description Usage Arguments Value Examples

Description

Returns start and/or end time stamps of a 'timeSeries' object.

Usage

1
2
3
4
5
## S4 method for signature 'timeSeries'
start(x, ...)

## S4 method for signature 'timeSeries'
end(x, ...)

Arguments

x

an uni- or multivariate timeSeries object.

...

optional arguments passed to other methods.

Value

returns a timeSeries object.

Examples

1
2
3
4
5
6
7
8
9
   
## Create Dummy timeSeries -    
   tS <- dummySeries()[, 1]
   tS
   
## Return Start and end Time Stamp -
   c(start(tS), end(tS))
   range(time(tS))
   

timeSeries documentation built on Nov. 17, 2017, 2:23 p.m.