[R] Finding rows common to two datasets
Steve Murray
smurray444 at hotmail.com
Tue Apr 28 09:59:00 CEST 2009
Dear all,
I have 2 data frames, both with 14 columns of data and differing numbers of rows. The first two columns are 'Latitude' and 'Longitude'. I want to find the pairs of Latitude and Longitude coordinates which are common to both datasets, and output a new data frame which is composed of these coincident rows. I tried using the 'unique' command, but had difficulties interpreting the help file.
Many thanks for any help offered,
Steve
More information about the R-help
mailing list