Closed jeromyanglim closed 12 years ago
This UCLA tutorial is clear: http://www.ats.ucla.edu/stat/r/faq/reshape.htm The following adapts the UCLA code to a common example that I have:
w <- reshape(long_data,
timevar = "var_name",
idvar = "id"
direction = "wide")
Quick-R mentions the reshape package: http://www.statmethods.net/management/reshape.html
I often forget the details of all the options of the reshape command. I generally find the documentation a little bit confusing.
What's a good way to remember the options for reshape?