I think you want this:
merge(a,b, by = "d", all = FALSE)
Type ?merge to see all the options to merge available to you,
Best,
Michael
On Mon, May 21, 2012 at 9:31 AM, Belay Gebregiorgis wrote:
> Hi Everyone,
>
> I am merging two data frames that have different number of rows. But I end
> up hav
Hi Everyone,
I am merging two data frames that have different number of rows. But I end
up having rows a lot more than both rows combined. I tried the following
but the duplicate bit does not change anything. Can anyone suggest to me
how I can handle this?
Regards,
Belay
x <-c(1, 2, 3, 4,5, NA
2 matches
Mail list logo