utils-structure: Display the structure of 'timeSeries' objects

str-methodsR Documentation

Display the structure of 'timeSeries' objects

Description

Compactly display the structure of a "timeSeries" object.

Usage

## S3 method for class 'timeSeries'
str(object, ...)

Arguments

object

an object of class timeSeries.

...

arguments passed to other methods.

Value

NULL, invisibly. The function is called for its side effect of printing a compact representation of the structure of the "timeSeries" object.

Examples

## Load Microsoft Data Set
data(MSFT)
X <- MSFT[1:12, 1:4]
colnames(X) <- abbreviate(colnames(X), 4)
    
## Display Structure
str(X)

timeSeries documentation built on Sept. 30, 2024, 9:15 a.m.