| apply_pb | R Documentation | 
Can be used like standard base:::apply. The only thing it does is create an additional progress bar.
apply_pb(X, MARGIN, FUN, ...)
| X | see ?apply for parameter explanation | 
| MARGIN | see ?apply | 
| FUN | see ?apply | 
| ... | see ?apply | 
see ?apply
apply()
## Not run: 
apply_pb(anscombe, 2, sd, na.rm = TRUE)
# larger dataset
df <- data.frame(rnorm(30000), rnorm(30000))
head(apply_pb(df, 1, sd))
# performance comparison
df <- data.frame(rnorm(90000), rnorm(90000))
system.time(apply(df, 1, sd))
system.time(apply_pb(df, 1, sd))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.