Re: [R] extending an existing ts object

2009-08-31 Thread Gabor Grothendieck
Try this: > x <- ts(1:5); x Time Series: Start = 1 End = 5 Frequency = 1 [1] 1 2 3 4 5 > ts(c(x, 6), start = start(x), frequency = frequency(x)) Time Series: Start = 1 End = 6 Frequency = 1 [1] 1 2 3 4 5 6 On Mon, Aug 31, 2009 at 4:58 PM, Bunny, lautloscrew.com wrote: > Dear all, > > somehow i a

[R] extending an existing ts object

2009-08-31 Thread Bunny, lautloscrew.com
Dear all, somehow i am still stuck trying to add data to some existing ts data. If some new periodical becomes available, i´d like to add these data to my existing ts object respectively my database. I just want to add some new data at the end of my ts. But how can I do this? Dont know why