Sorry---I thought it worked but I think I am actually definitely doing
something wrong...
The problem might be that there are NA's and there are also duplicated
values...My fault. I can't figure out what is going wrong...
I'll be more thorough and modify the two df to mirror more what I have to
ex
Yes, your code did exactly what I needed.
Thank you!!
-f
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-gu
Hi,
On Mon, Oct 3, 2011 at 1:54 PM, francy wrote:
> Hi,
>
> I am trying to find a function to match two data frames of different lengths
> for one field only.
> So, for example,
> df1 is:
>
> Name Position location
> francesca A 75
> cristina B 36
>
> And df2 is:
>
> location Country
> 75 UK
> 5
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf Of francy
> Sent: Monday, October 03, 2011 10:55 AM
> To: r-help@r-project.org
> Subject: [R] Merge two data frames and find common values and non-matching
> values
>
> Hi,
>
> I am tryin
Hi,
I am trying to find a function to match two data frames of different lengths
for one field only.
So, for example,
df1 is:
Name Position location
francesca A 75
cristina B 36
And df2 is:
location Country
75 UK
56 Austria
And I would like to match on "Location" and the output to be something
5 matches
Mail list logo