search for: shortansw

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

Did you mean: shortanswer
2010 Sep 04
4
Please explain "do.call" in this context, or critique to "stack this list faster"
...1)*nr) + 1):(j*nr), ] <- mylist[[j]] ## I searched a long time for an answer that looked better. ## This website is helpful: ## http://stackoverflow.com/questions/tagged/r ## I started to type in the question and 3 plausible answers ## popped up before I could finish. ## The terse answer is: shortAnswer <- do.call("rbind",mylist) ## That's the right answer, see: shortAnswer == dataComplete ## But I don't understand why it works. ## More importantly, I don't know if it is fastest, or best. ## It is certainly less error prone than "dataComplete" ## First, mak...