dim {fSeries} | R Documentation |
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. |
## 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)
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 .
|
NA
Diethelm Wuertz for the Rmetrics R-port.
## NYI