propBar | R Documentation |
Generates a text-based proportion bar for downstream applications.
propBar(
use,
total,
charUse = "#",
charRem = " ",
charLen = 25,
charEnd = c("[", "]")
)
use |
Number of units used in total size. |
total |
Total number of units in total size. |
charUse |
Text character to display used portion of bar. Defaults to
|
charRem |
Text character to display unused portion of bar. Defaults to
|
charLen |
Total number of characters used for bar. Default is 25 units. |
charEnd |
"Fancy" end pieces if you want them. Must be supplied as a
vector of character elements. Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.