Learn R Programming

tframe (version 2007.5-2)

nseries: Number of Series

Description

Return the number of series.

Usage

nseries(x)
    ## S3 method for class 'default':
nseries(x)

Arguments

x
A time series object.

Value

  • An integer.

Details

Generic method to return the number of series.

Examples

Run this code
nseries(tbind(rnorm(100,20,5)))

Run the code above in your browser using DataLab