Philipp Chapkovski
2011-Jun-14 19:47 UTC
[R] how to convert careers to social network description
There is a dataframe in R that looks that Person --- Organization --- Year In --- Year Out P1 X 2001 2005 P2 X 2002 2006 What is the most quick way to convert it to the table of the connections between two people with a 'strength' equal the number of years they worked together? In this example the result should be something like: Person 1 --- Person 2 --- Strength P1 P2 4 It seems to me that should be some quick and compact way to do this conversion but I don't know how. Thank you for any hints! Philipp
Daniel Malter
2011-Jun-14 22:33 UTC
[R] how to convert careers to social network description
Where are you stuck? A question without reproducible code or demonstrating own effort is much less likely to receive a response. Best, Daniel -- View this message in context: http://r.789695.n4.nabble.com/how-to-convert-careers-to-social-network-description-tp3597622p3598067.html Sent from the R help mailing list archive at Nabble.com.