Re: [R] combine two columns into one

2013-05-29 Thread arun
paste(Date,Time,sep="_"))[,c(4,3)]  res #    DT Var #1 2012-11-01_1   5 #2 2012-11-01_2   5 #3 2012-11-02_1   5 #4 2012-11-02_2   3 A.K. From: Ye Lin To: arun Cc: R help Sent: Wednesday, May 29, 2013 2:40 PM Subject: Re: [R] combine two columns in

Re: [R] combine two columns into one

2013-05-29 Thread Ye Lin
; # UniqueID Var > #1 1_1 11 > #2 1_2 25 > #3 2_1 11 > A.K. > > > > - Original Message - > From: Ye Lin > To: R help > Cc: > Sent: Wednesday, May 29, 2013 2:23 PM > Subject: [R] combine two columns into one > > Hey all! &g

Re: [R] combine two columns into one

2013-05-29 Thread arun
(Var)) #  UniqueID Var #1  1_1  11 #2  1_2  25 #3  2_1  11 A.K. - Original Message - From: Ye Lin To: R help Cc: Sent: Wednesday, May 29, 2013 2:23 PM Subject: [R] combine two columns into one Hey all! I have a time series dataset like this: Date    Time  Var 1     

[R] combine two columns into one

2013-05-29 Thread Ye Lin
Hey all! I have a time series dataset like this: DateTime Var 112 1 14 1 1 5 1 2 8 1 2 8 1 2 9 213 21 4 214 I created a