name of the index column. Pass NULL to avoid creation of
the index column. For compatibility, omit this argument or pass NA
to use ".n" as column name.
Value
a data frame
Details
This function runs an expression multiple times, and combines the result into
a data frame. If there are no results, then this function returns a data
frame with zero rows and columns (data.frame()). This function is
equivalent to replicate, but will always return results as a
data frame.
References
Hadley Wickham (2011). The Split-Apply-Combine Strategy for Data
Analysis. Journal of Statistical Software, 40(1), 1-29.
http://www.jstatsoft.org/v40/i01/.