Description Usage Arguments Author(s) Examples
Takes a number and formats it as a percentage.
Used by confIntIndependentProportion
.
1 | formatPercent(x, digits = 1)
|
x |
numeric vector of proportions |
digits |
number of digits |
Leonhard Held
1 | formatPercent(c(0.115, 0.5)) # "11.5%" "50.0%"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.