[R] merge more than two tables

Christian Schulz ozric at web.de
Tue Apr 6 12:49:22 CEST 2004


Hi 

have anybody a hint how i could merge  i.e.  10 data.frames togehter.
Ok i could do one merge after another but perhaps with few coding exist a 
better way?

system.time(dm1 <- merge(Base,sub1 ,by.x ="MEMBERNO",by.y="MEMBERNO",all.x=T))
system.time(dm2 <- merge(dm2,sub2,by.x="MEMBERNO",by.y="MEMBERNO",all.x=T))
system.time(dm3 <- merge(dm2,sub3,by.x="MEMBERNO",by.y="MEMBERNO",all.x=T))
....................

many thanks , christian




More information about the R-help mailing list