selectSeries(x, series = seqN(nseries(x)))
# S3 method for default
selectSeries(x, series = seqN(nseries(x)))
# S3 method for ts
selectSeries(x, series = seqN(nseries(x)))
Arguments
x
A tframed object.
series
The subset of series to retain.
Value
A tframed object.
Details
This is like [ , , drop=FALSE] 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).