Skip to content
Prev 294352 / 398503 Next

Interweaving of two datasets

I'm not sure if this is what you want but try

library(reshape2)
dat3  <- merge(dat1, dat2)
xx  <-  melt(dat3, id=c("phone", "request"))
dcast(dat3 , phone  + name  + address ~ request )

John Kane
Kingston ON Canada
____________________________________________________________
Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.