powered by
Call a function with a list of arguments
list.do(.data, fun, ...)
list. vector will be coreced to list before being passed to fun.
list
vector
fun
The function to call
function
The additional parameters passed to do.call
do.call
# NOT RUN { x <- lapply(1:3, function(i) { c(a=i,b=i^2)}) df <- lapply(1:3, function(i) { data.frame(a=i,b=i^2,c=letters[i])}) list.do(x, rbind) # }
Run the code above in your browser using DataLab