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

startR Documentation

Start and end of a 'timeSeries'

Description

Returns start or end time stamp of a "timeSeries" object.

Usage

## S3 method for class 'timeSeries'
start(x, ...)

## S3 method for class 'timeSeries'
end(x, ...)

Arguments

x

an uni- or multivariate "timeSeries" object.

...

optional arguments passed to other methods.

Value

a "timeSeries" object

Examples

   

## Create a dummy \code{"timeSeries"}
tS <- dummyMonthlySeries()[, 1]
tS
   
## Return start and end time stamp
c(start(tS), end(tS))
range(time(tS))

timeSeries documentation built on Sept. 30, 2024, 9:15 a.m.