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
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
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:
3 matches
Mail list logo