[R] vertically concatenating data frames

2007-07-03 Thread Aydemir, Zava \(FID\)
Hi, what is the recommended way to vertically concatenate 2 data frames with the same column names but different number of rows? My problem is something along these lines: df1 - data.frame(var1=var1,var2=var2,var3=var3) # nrow(df1)=1000 df2 - data.frame(var1=var4,var2=var5,var3=var6) #

Re: [R] vertically concatenating data frames

2007-07-03 Thread Greg Snow
(FID) Sent: Tuesday, July 03, 2007 12:01 PM To: r-help@stat.math.ethz.ch Subject: [R] vertically concatenating data frames Hi, what is the recommended way to vertically concatenate 2 data frames with the same column names but different number of rows? My problem is something along

Re: [R] vertically concatenating data frames

2007-07-03 Thread John Kane
?rbind --- Aydemir, Zava (FID) [EMAIL PROTECTED] wrote: Hi, what is the recommended way to vertically concatenate 2 data frames with the same column names but different number of rows? My problem is something along these lines: df1 - data.frame(var1=var1,var2=var2,var3=var3) #