You might just want to try this, it is quite efficient:

as.numeric(t(as.matrix(x)))

On 2/13/06, Roger Mason <[EMAIL PROTECTED]> wrote:
> 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
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to