select.series {tframe}R Documentation

Extract a Subset of Series

Description

Extract a subset of series from a tframed object.

Usage

    select.series(x, ...)
    select.series(x, series=seq(ncol(x)))
    

Details

This is like [ , , drop=F] but retains class, series name and tframe information. It also provides a methods which works with multivariate series which are not matrices (e.g. tfPADIdata).

Value

A tframed object.

See Also

series.names tfPADIdata

Examples

    z <- select.series(matrix(rnorm(1000), 100,10), series=c(2, 5, 6))