percentjr | R Documentation |
Label percentages with thin space between number and percent sign (2.5 %, 50 %, etc.)
percentjr(
x,
accuracy = NULL,
scale = 100,
prefix = "",
suffix = "thinspace",
big.mark = " ",
decimal.mark = ".",
trim = TRUE,
...
)
x |
A numeric vector to format. |
accuracy |
A number to round to. Use (e.g.) |
scale |
A scaling factor: x will be multiplied by |
prefix |
Symbols to display before and after value. |
suffix |
Symbols to display before and after value. If |
big.mark |
Character used between every 3 digits to separate thousands. |
decimal.mark |
The character to be used to indicate the numeric decimal point. |
trim |
Logical, if |
... |
Other arguments passed on to |
Formatted percentages
percentjr(0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.