Skip to content
Back to formatted view

Raw Message

Message-ID: <1322073447879-4100939.post@n4.nabble.com>
Date: 2011-11-23T18:37:27Z
From: lunarossa
Subject: How to change Record "repeated"

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.