[R] Joining data frames

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Wed Jun 30 02:07:46 CEST 2021


On 29/06/2021 8:03 p.m., Matthew McCormack wrote:
>       I think, but I'm not sure, that when you use merge it basically
> attaches one data frame to the other. I do not think it matches up
> entries from a particular column in each data frame (and I know
> biologists frequently want to match entries from a particular column in
> each data frame). For that, I think you need a join from the dplyr package.

You think wrong.  The Description in the help page is short and clear:

"Merge two data frames by common columns or row names, or do other 
versions of database join operations."

Duncan Murdoch



More information about the R-help mailing list