Re: [R] duplicate rows with new time series

2013-05-10 Thread Ye Lin
Thanks, this one works! On Thu, May 9, 2013 at 5:09 PM, Gabor Grothendieck wrote: > On Thu, May 9, 2013 at 8:09 PM, Gabor Grothendieck > wrote: > > On Thu, May 9, 2013 at 7:24 PM, Ye Lin wrote: > >> Hey All, > >> > >> I want to duplicate the records but add a new "timestamp" columns as new > >

Re: [R] duplicate rows with new time series

2013-05-09 Thread Gabor Grothendieck
On Thu, May 9, 2013 at 8:09 PM, Gabor Grothendieck wrote: > On Thu, May 9, 2013 at 7:24 PM, Ye Lin wrote: >> Hey All, >> >> I want to duplicate the records but add a new "timestamp" columns as new >> time series, but I dont know how to do that. >> >> my dataset(dat1) looks like this: >> >> No.

Re: [R] duplicate rows with new time series

2013-05-09 Thread Gabor Grothendieck
On Thu, May 9, 2013 at 7:24 PM, Ye Lin wrote: > Hey All, > > I want to duplicate the records but add a new "timestamp" columns as new > time series, but I dont know how to do that. > > my dataset(dat1) looks like this: > > No. TimeStamp Var1 > > 1 2012-06-18 06:00:003

[R] duplicate rows with new time series

2013-05-09 Thread Ye Lin
Hey All, I want to duplicate the records but add a new "timestamp" columns as new time series, but I dont know how to do that. my dataset(dat1) looks like this: No. TimeStamp Var1 1 2012-06-18 06:00:003 2 2012-06-18 06:06:00 4 I use this code to do dup