Displaying 1 result from an estimated 1 matches for "resultdf3".
Did you mean:
resultdf
2010 Sep 09
0
Fast / dependable way to "stack together" data frames from a list
...[i]])
## It works better to just call rbind once, as in:
resultDF2 <- rbind( mylist[[1]],mylist[[2]],mylist[[3]],mylist[[4]])
## That is faster because it calls rbind only once.
## But who wants to do all of that typing? How tiresome.
## Thanks to Erik Iverson in r-help, I understand that
resultDF3 <- do.call("rbind", mylist)
## is doing the EXACT same thing.
## Erik explained that "do.call( "rbind", mylist)"
## is *constructing* a function call from the list of arguments.
## It is shorthand for "rbind(mylist[[1]], mylist[[2]], mylist[[3]])"
## assu...