jstapply | R Documentation |
A progress bar version of lapply without boilerplate overhead
jstapply(X, FUN, flag, ...)
X |
a vector (atomic or list) or an |
FUN |
the function to be applied to each element of |
flag |
placeholder not currently implemented to specify pre-bar flag |
... |
optional arguments to |
## Not run: lapply(1:3, function(x) Sys.sleep(x)) # compared with: jstapply(1:3, function(x) Sys.sleep(x)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.