[R] How to change Record "repeated"

lunarossa gloriaalbe1 at yahoo.it
Wed Nov 23 19:37:27 CET 2011


I have a great dataset like this: 

name      colour   ... ... ... 
jerry         red 
pippo        red 
tom          red 
tom        yellow 
tom        green 
jessie     orange 
jessie      red 
bill          yellow 
kate       red 
henry      green 
.. 
.. 


I want to find out, in this great dataset, if (the name of) a person is
repeated (and which colour are associated).  

My output has to be a dataset like this: 
name      colour   colour2 colour3 ... ... ... 
jerry         red 
pippo        red 
tom          red       yellow green 
jessie     orange     red 
bill          yellow 
kate       red 
henry      green 


How to do? Is it possible to do with Calc? 

Thanks


--
View this message in context: http://r.789695.n4.nabble.com/How-to-change-Record-repeated-tp4100939p4100939.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list