[Rd] Subsetting time series

Rob Hyndman Rob.Hyndman at buseco.monash.edu.au
Tue Aug 10 04:38:15 CEST 2004

When part of a time series is extracted, the time series component is 
lost. e.g.,
x <- ts(1:10)

It would be nice if there was a subsetting function [.ts to avoid this 
problem. However, it is beyond my R-coding ability to produce such a 
thing.  Is someone willing to do it?


Professor Rob J Hyndman
Department of Econometrics & Business Statistics
Monash University, VIC 3800, Australia.

More information about the R-devel mailing list