Learn R Programming

timeSeries (version 3010.97)

str-methods: Object Str

Description

Compactly Display the Structure of a 'timeSeries' Object.

Usage

## S3 method for class 'timeSeries':
str(object, \dots)

Arguments

object
an object of class timeSeries.
...
arguments passed to other methods.

Value

  • returns a str report for an object of class timeSeries.

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