Displaying 1 result from an estimated 1 matches for "resultdf5".
Did you mean:
resultdf
2010 Sep 09
0
Fast / dependable way to "stack together" data frames from a list
...s have
## different numbers of rows, some major code surgery will be needed.
##
## Dennis Murphy pointed out the plyr package, by Hadley Wickham.
## Dennis said " ldply() in the plyr package. The following is the same
## idea as do.call(rbind, l), only faster."
library("plyr")
resultDF5 <- ldply(mylist, rbind)
all.equal(resultDF, resultDF5)
## Plyr author Hadley Wickham followed up with "I think all you want
here is rbind.fill:"
resultDF6 <- rbind.fill(mylist)
all.equal(resultDF, resultDF6)
## Gabor Grothendieck noted that if the elements in mylist were
matr...