[R] merging/intersecting 2 data frames

Weidong Gu wgu at uab.edu
Tue Jun 29 22:17:34 CEST 2010


Erin,

?merge

Try 
c.df=merge(a.df,b.df,by.x="PATIENT_ID",by.y="ID")

hope it helps

Weidong



More information about the R-help mailing list