[R] question about subset and join ts object(s)

2008-01-10 Thread tom soyer
Hi, I have two questions about ts. (1) How do I subset a ts object and still preserve the time index? for example: x=ts(1:10, frequency = 4, start = c(1959, 2)) # the ts object x Qtr1 Qtr2 Qtr3 Qtr4 1959 123 19604567 196189 10 I don't want the

Re: [R] question about subset and join ts object(s)

2008-01-10 Thread Achim Zeileis
On Thu, 10 Jan 2008, tom soyer wrote: Hi, I have two questions about ts. (1) How do I subset a ts object and still preserve the time index? for example: x=ts(1:10, frequency = 4, start = c(1959, 2)) # the ts object x Qtr1 Qtr2 Qtr3 Qtr4 1959 123 196045

Re: [R] question about subset and join ts object(s)

2008-01-10 Thread tom soyer
Thanks Achim. Data manipulation in zoo and coerce back to ts. Sounds good! On 1/10/08, Achim Zeileis [EMAIL PROTECTED] wrote: On Thu, 10 Jan 2008, tom soyer wrote: Hi, I have two questions about ts. (1) How do I subset a ts object and still preserve the time index? for example: