data_frame_y[c("Latitude","Longitude")])
common
data frame with 0 columns and 0 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
_
espond 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...@hotmai
uot;)])
> > common
> data frame with 0 columns and 0 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
>
>
>
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-project.org
>
>
Dear Steve,
Try
? intersect
and see if that might help.
Cheers,
Umesh
On Tue, Apr 28, 2009 at 1:29 PM, Steve Murray wrote:
>
> 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
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
6 matches
Mail list logo