[R] Merge two dataframes of different column length and row length by two columns at a time

2006-07-21 Thread Gunther Höning
Hello, I have two dataframes of the following structures: str(a) `data.frame': 1354896 obs. of 14 variables: $ V1 : int 0 1 2 3 4 5 6 7 8 9 ... $ V2 : int 0 0 0 0 0 0 0 0 0 0 ... $ V3 : int 74 12305 103 12337 46 57 12446 90 12097 79 ... $ V4 : num11.8 1529.2 17.8 1579.46.7

Re: [R] Merge two dataframes of different column length and row length by two columns at a time

2006-07-21 Thread Philipp Pagel
On Fri, Jul 21, 2006 at 09:33:56AM +0200, Gunther Höning wrote: I have two dataframes of the following structures: [...] I want to merge these dataframes by V1 and V2 of a and b. The combination of V1, V2 is a unique key. Note that b is smaller than a. Any suggestions to solve this problem