[R] Transforming data

From: jenny <jennytimp_at_hotmail.com>
Date: Sun, 23 Mar 2008 21:12:16 +0800

My data look like this:

My questions are:
(1) How do I get it in the following format?
Col1 Col2
1 2
3 4
5 6

(2) How do I transform the data in 2 column format above back to the single column format?

Thanks in advance for your reply!

        [[alternative HTML version deleted]]

R-help_at_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. Received on Sun 23 Mar 2008 - 13:16:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 23 Mar 2008 - 15:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive