[R] merge/combine data

Dirkheld d.g.f.m.bollen at tue.nl
Thu Oct 16 10:43:04 CEST 2008


Hi,

I have the following data imported from a csv file
   user_id site_id           name
1        1      11      februari
2        1      11       redbook
3        1      11          tips
7        3       6         sleep
8        3       6    monitoring
9        3       6         alarm

Which I would like to merge/combine into
   user_id site_id           name
1        1      11      februari, redbook, tips
2        3       6         sleep, monitoring, alarm
3 .....

So I would like to combine data from similar user_id and site_id in one line
with a merge of the 'name'.



-- 
View this message in context: http://www.nabble.com/merge-combine-data-tp20009538p20009538.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list