Learn R Programming

timeSeries (version 4021.104)

str-methods: timeSeries Object Structure

Description

Compactly display the structure of a 'timeSeries' Object.

Usage

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

Value

returns 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