[R] dataframe rbind

2015-12-04 Thread Troels Ring
Dear friends - I have a very simple question - I generate a number of dataframes with identical names and want to combine them into one large dataframe with the same names - here is an example DF <- data.frame(a=rnorm(10),b=runif(10),ID=0) for (i in 1:10){ DF <-

Re: [R] dataframe rbind

2015-12-04 Thread Troels Ring
(10),ID=i)) instead. Cheers Petr -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Troels Ring Sent: Friday, December 04, 2015 5:03 PM To: r-help@r-project.org Subject: [R] dataframe rbind Dear friends - I have a very simple question - I generate a num

Re: [R] dataframe rbind

2015-12-04 Thread Bert Gunter
Try reading and following the Help file, ?rbind.data.frame. You are inventing your own syntax, not using R's. Incidentally, growing the frames as you do is generally a bad idea. Search r-help archives for why. Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge.

Re: [R] dataframe rbind

2015-12-04 Thread peter dalgaard
On 04 Dec 2015, at 17:03 , Troels Ring wrote: > Dear friends - I have a very simple question - > I generate a number of dataframes with identical names and want to combine > them into one large dataframe with the same names - > here is an example > > DF <-

Re: [R] dataframe rbind

2015-12-04 Thread David L Carlson
lp-boun...@r-project.org] On Behalf Of Troels Ring Sent: Friday, December 4, 2015 10:03 AM To: r-help@r-project.org Subject: [R] dataframe rbind Dear friends - I have a very simple question - I generate a number of dataframes with identical names and want to combine them into one large dataframe wi

Re: [R] dataframe rbind

2015-12-04 Thread PIKAL Petr
boun...@r-project.org] On Behalf Of Troels > Ring > Sent: Friday, December 04, 2015 5:03 PM > To: r-help@r-project.org > Subject: [R] dataframe rbind > > Dear friends - I have a very simple question - I generate a number of > dataframes with identical names and want to combine t