dimnames {timeSeries}R Documentation

Time Series Columns and Rows

Description

Functions and methods handling columns and rows of 'timeSeries' objects.

dim Returns the dimension of a 'timeSeries' object,
dimnames Returns the dimension names of a 'timeSeries' object,
colnames<- Assigns column names to a 'timeSeries' object,
rownames<- Assigns row names to a 'timeSeries' object,

Arguments

value

a valid value for names component of dimnames(x).

x

an object of class timeSeries.

Value

NA

Examples

## Load Swiss Pension Fund Benchmark Data -
   data(LPP2005REC)
   X = LPP2005REC[1:10, 1:3]
   
## Get Dimension - 
   dim(X)
   
## Get Column and Row Names -
   dimnames(X)
   
## Get Column Names -
   colnames(X)
   
## Get Row Names -
   rownames(X) 

[Package timeSeries version 2160.95 Index]