powered by
This function is a wrapper of lapply function that allows the drawing of a progress bar to assess the speed of the process.
lapply_pb (X, FUN, ...)
a vector (atomic or list) or an expression object. See see lapply.
lapply
the function to be applied to each element of X: see lapply.
passes another arguments to the typical lapply function.
Performs lapply drawing a progress bar
the same result than using lapply
No major details
See see lapply
# NOT RUN { l <- sapply(1:200, function(x) list(rnorm(1000))) lapply_pb(l, mean) # }
Run the code above in your browser using DataLab