select.series {tframe} | R Documentation |
Extract a subset of series from a tframed object.
select.series(x, ...) select.series(x, series=seq(ncol(x)))
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).
A tframed object.
z <- select.series(matrix(rnorm(1000), 100,10), series=c(2, 5, 6))