dim {fSeries}R Documentation

timeSeries Columns and Rows

Description

A collection and description of functions and methods dealing with 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,
is.array Allows that NCOL and NROW work properly.

Usage


## S3 method for class 'timeSeries':
dim(x)
## S3 method for class 'timeSeries':
dimnames(x)

colnames<-.timeSeries(x) <- value
rownames<-.timeSeries(x) <- value

## S3 method for class 'timeSeries':
is.array(x)

Arguments

value a valid value for column names component of dimnames(x). For a "timeSeries" object this is either NULL or a character vector of length the column dimension. Not, row names cannot be assigne for a "timeSeries" object, the function rownames() will stop and return an error message.
x an object of class timeSeries.

Value

NA

Author(s)

Diethelm Wuertz for the Rmetrics R-port.

Examples

## NYI

[Package fSeries version 260.73 Index]