Re: [R] Finding rows common to two datasets

2009-04-28 Thread Tony Plate
to correspond to this command? Thanks, Steve Date: Tue, 28 Apr 2009 13:36:51 +0530 Subject: Re: [R] Finding rows common to two datasets From: umesh.sriniva...@gmail.com To: smurray...@hotmail.com CC: r-help@r-project.org Dear Steve, Try ? intersect and see

[R] Finding rows common to two datasets

2009-04-28 Thread Steve Murray
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

Re: [R] Finding rows common to two datasets

2009-04-28 Thread Umesh Srinivasan
Dear Steve, Try ? intersect and see if that might help. Cheers, Umesh On Tue, Apr 28, 2009 at 1:29 PM, Steve Murray smurray...@hotmail.comwrote: 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

Re: [R] Finding rows common to two datasets

2009-04-28 Thread Steve Murray
Date: Tue, 28 Apr 2009 13:36:51 +0530 Subject: Re: [R] Finding rows common to two datasets From: umesh.sriniva...@gmail.com To: smurray...@hotmail.com CC: r-help@r-project.org Dear Steve, Try ? intersect and see if that might help. Cheers, Umesh On Tue, Apr 28, 2009 at 1:29 PM, Steve

Re: [R] Finding rows common to two datasets

2009-04-28 Thread jim holtman
rows Is there an obvious solution to this? Should I be using 'unique' instead, and if so, how would I get the above to correspond to this command? Thanks, Steve Date: Tue, 28 Apr 2009 13:36:51 +0530 Subject: Re: [R] Finding rows common to two datasets

Re: [R] Finding rows common to two datasets

2009-04-28 Thread Umesh Srinivasan
, and if so, how would I get the above to correspond to this command? Thanks, Steve Date: Tue, 28 Apr 2009 13:36:51 +0530 Subject: Re: [R] Finding rows common to two datasets From: umesh.sriniva...@gmail.com To: smurray...@hotmail.com CC: r-help@r