View source: R/interface.helpers.R
Update a progress bar.
1 2 | ## S3 method for class 'progress.bar'
update(progress.bar, index, max.r, max.n.updates = 50)
|
progress.bar |
A text progress bar item |
index |
Numeric index of the permutation you are in (out of max.r) |
max.r |
Numeric how many you are expecting total |
max.n.updates |
Maximum number of updates, there is a bit of overhead, so don't want it updating every iteration. (Default: 50) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.