lapply_pb {Fragman} | R Documentation |
complementary tools for Fragman
Description
This function is a wrapper of lapply function that allows the drawing of a progress bar to assess the speed of the process.
Usage
lapply_pb (X, FUN, ...)
Arguments
X |
a vector (atomic or list) or an expression object. See see |
FUN |
the function to be applied to each element of X: see |
... |
passes another arguments to the typical lapply function. |
Details
No major details
Value
Performs lapply drawing a progress bar
- res
the same result than using lapply
References
See see lapply
Examples
l <- sapply(1:200, function(x) list(rnorm(1000)))
lapply_pb(l, mean)
[Package Fragman version 1.0.9 Index]