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 Jan. 13, 2024, 8:16 p.m.