perhaps,
unlist(d, use.names=F)
baptiste
On 1 Apr 2009, at 22:15, oscar linares wrote:
Dear Rxperts
I have a data.frame as follows
A B C D
1 4 7 10
2 5 8 11
3 6 9 12
I want to convert it to a data frame with a single row (i.e., stack
the
columns without the heading)
1
2
3
4
5
6
7
8
9
10
11
12
Any suggestions please.
Thanks in advance!
--
Oscar
Oscar A. Linares
Molecular Medicine Unit
Bolles Harbor
Monroe, Michigan
[[alternative HTML version deleted]]
______________________________________________
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.
_____________________________
Baptiste AuguiƩ
School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK
Phone: +44 1392 264187
http://newton.ex.ac.uk/research/emag
______________________________________________
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.