time {timeSeries}R Documentation

Get and Set Time stamps of a 'timeSeries'

Description

Functions and methods extracting and modifying positions of 'timeSeries' objects.

Usage

## S4 method for signature 'timeSeries'
time(x, ...)
## S3 replacement method for class 'timeSeries'
time(x) <- value

getTime(x)         
setTime(x) <- value

Arguments

value

a valid value for the component of time(x).

x

an object of class timeSeries.

...

optional arguments passed to other methods.

Value

returns a timeSeries object.

Examples

   
## Create Dummy timeSeries -      
   X = timeSeries(matrix(rnorm(24), 12), timeCalendar())
   
## Return Series Positions -
   time(X)

[Package timeSeries version 2160.95 Index]