This post (http://www.statmethods.net/management/reshape.html) explains how to "reshape" data in R using the reshape package. It not only can do what the reshape command in Stata does (the "melt" step), but also a step further (the "cast" step). Quite amazing.
No comments:
Post a Comment