Re: [Rd] Subsetting time series

2004-08-10 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Aug 2004 05:47:28 +0100 (BST) writes: BDR On Tue, 10 Aug 2004, Ross Ihaka wrote: Rob Hyndman wrote: When part of a time series is extracted, the time series component is lost. e.g., x - ts(1:10) x[1:4]

Re: [Rd] Subsetting time series

2004-08-10 Thread Prof Brian Ripley
On Tue, 10 Aug 2004, Martin Maechler wrote: BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Aug 2004 05:47:28 +0100 (BST) writes: BDR On Tue, 10 Aug 2004, Ross Ihaka wrote: Rob Hyndman wrote: When part of a time series is extracted, the time series component is

Re: [Rd] Subsetting time series

2004-08-10 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Aug 2004 09:11:39 +0100 (BST) writes: BDR On Tue, 10 Aug 2004, Martin Maechler wrote: BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 10 Aug 2004 05:47:28 +0100 (BST) writes: BDR On Tue, 10 Aug 2004, Ross

[Rd] Subsetting time series

2004-08-09 Thread Rob Hyndman
When part of a time series is extracted, the time series component is lost. e.g., x - ts(1:10) x[1:4] 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? Rob

Re: [Rd] Subsetting time series

2004-08-09 Thread Ross Ihaka
Rob Hyndman wrote: When part of a time series is extracted, the time series component is lost. e.g., x - ts(1:10) x[1:4] 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