[R] merging dataframes with diffent rownumbers

2007-06-18 Thread Thomas Hoffmann
Dear R-Helpers, I have following problem: I do have two data frames dat1 and dat2 with a commen column BNUM (long integer). dat1 has a larger number of BNUM than dat2 and different rows of dat2 have equal BNUM. The numbers of rows in dat1 and dat2 is not equal. I applied the tapply-function

Re: [R] merging dataframes with diffent rownumbers

2007-06-18 Thread Michael Dewey
At 09:09 18/06/2007, Thomas Hoffmann wrote: >Dear R-Helpers, > >I have following problem: > >I do have two data frames dat1 and dat2 with a commen column BNUM >(long integer). dat1 has a larger number of BNUM than dat2 and >different rows of dat2 have equal BNUM. The numbers of rows in dat1 >and

Re: [R] merging dataframes with diffent rownumbers

2007-06-18 Thread Petr Klasterecky
No easy to understand what exactly you mean, but try ?merge ?cbind ?rbind Petr Thomas Hoffmann napsal(a): > Dear R-Helpers, > > I have following problem: > > I do have two data frames dat1 and dat2 with a commen column BNUM (long > integer). dat1 has a larger number of BNUM than dat2 and diffe