str-methods | R Documentation |
Compactly display the structure of a "timeSeries"
object.
## S3 method for class 'timeSeries'
str(object, ...)
object |
an object of class |
... |
arguments passed to other methods. |
NULL
, invisibly. The function is called for its side effect of
printing a compact representation of the structure of the
"timeSeries"
object.
## Load Microsoft Data Set
data(MSFT)
X <- MSFT[1:12, 1:4]
colnames(X) <- abbreviate(colnames(X), 4)
## Display Structure
str(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.