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

From: Philipp Pagel <>
Date: Fri 21 Jul 2006 - 18:24:28 EST

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 ?

Use merge()



Dr. Philipp Pagel                            Tel.  +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics      Fax.  +49-8161-71 2186
Technical University of Munich
Science Center Weihenstephan
85350 Freising, Germany


Institute for Bioinformatics / MIPS          Tel.  +49-89-3187 3675
GSF - National Research Center               Fax.  +49-89-3187 3585
      for Environment and Health
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Jul 21 18:32:23 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 21 Jul 2006 - 20:16:50 EST.

Mailing list information is available at Please read the posting guide before posting to the list.