View source: R/myMiniProgressBar.R
Print a customisable progress bar in the console.
1 | myMiniProgressBar(p, txt1 = "", txt2 = "", style = 1, label = c("=", "-", "|"))
|
p |
Numeric, percentage of finished progress, between 0 and 1. |
txt1 |
String to put before the progress bar |
txt2 |
String to put after the progress bar |
style |
The display style. 1 is single-lined; 2 is double-lined; 3 display the progress in a 5-lined block. |
label |
Character labels for "finished", "un-finished", and "side bars". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.