Description Usage Arguments Value Examples
The function turns a probability or share (e.g. 0.49, 2.102) into a percentage (49
1 | percentify(.x, .digits = 0)
|
.x |
Numeric vector. Input data |
.digits |
Integer value. To how many digits should the result be rounded. |
Vector with rounded percentages + "
1 2 | percentify(1:10 / 10)
percentify(rnorm(10), 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.