taby gathoni <tabieg <at> yahoo.com> writes:

> 
> I am currently trying to transpose some large panel data set 
> ie transposing multiple rows in into a single
> column. instead the transpose functionality transposes
> all rows into columns. my sample data set looks
> like below:

  Try the melt and cast functions in the reshape (or reshape2)
packages (reshape2 may be faster).  It may take a bit of work
to get the syntax right (try it out on a small subset of your
data).

  Ben Bolker

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to