[R] reshaping data

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Tue 14 Feb 2006 - 04:48:11 EST


Hello,

I have data in a frame:

1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16

I would like them arranged in a single column:

1
2
3
4
.
.

8
9
.
.

16

etc.

I believe this should be possible using reshape, but I can't see how to do it.

Thanks for sparing time to help a neophyte,

Roger Mason



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 05:04:36 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:29 EST