[R] collapse a list of dataframes
JS Huang
js.huang at protective.com
Tue Feb 3 21:56:19 CET 2015
Hi,
The following worked.
> data.frame(rbind(as.matrix(data.frame(a=1:3,b=letters[1:3])),as.matrix(data.frame(x=1:5,b=LETTERS[1:5]))))
a b
1 1 a
2 2 b
3 3 c
4 1 A
5 2 B
6 3 C
7 4 D
8 5 E
--
View this message in context: http://r.789695.n4.nabble.com/collapse-a-list-of-dataframes-tp4702709p4702773.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list