str-methods {timeSeries} | R Documentation |
Compactly display the structure of a 'timeSeries' Object.
## S4 method for signature 'timeSeries'
str(object, ...)
object |
an object of class |
... |
arguments passed to other methods. |
returns a str report for an object of class timeSeries
.
## Load Microsoft Data Set -
data(MSFT)
X <- MSFT[1:12, 1:4]
colnames(X) <- abbreviate(colnames(X), 4)
## Display Structure -
str(X)