Learn R Programming

timeSeries (version 4030.106)

str-methods: timeSeries object structure

Description

Compactly display the structure of a "timeSeries" object.

Usage

# S4 method for timeSeries
str(object, ...)

Value

a str report for an object of class timeSeries.

Arguments

object

an object of class timeSeries.

...

arguments passed to other methods.

Examples

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

Run the code above in your browser using DataLab