search for: resultdf6

Displaying 1 result from an estimated 1 matches for "resultdf6".

Did you mean: resultdf
2010 Sep 09
0
Fast / dependable way to "stack together" data frames from a list
...y() 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 matrices, this would all work faster. mylist2 <- lapply(mylist, as.matrix) matrixDoCall <- do.call("rbind", mylist2) all.equal(as.data.frame(matrixDoCall), r...