Skip to content
Prev 11130 / 398502 Next

list to data frame by rows ...

Johann Petrak <johann at ai.univie.ac.at> writes:
In general the cbind function is used to bind columns into an array.
If you want to invoke it on a list of arguments you can use do.call to
create the function call.  Combining these gives
[,1] [,2]
[1,]    1    4
[2,]    2    5
[3,]    3    6
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._