percentage_formatter | R Documentation |
Parse a string of 0-100% from a number between 0 and 1.
percentage_formatter(
x,
digitz = 3,
keep.names = FALSE,
prefix = NULL,
suffix = NULL,
sign_sep = ""
)
x |
A vector of numbers between 0-1. |
digitz |
Number of digits to keep. 3 by default. |
keep.names |
Keep vector names |
prefix |
prefix added before the string, Default: NULL |
suffix |
suffix added after the string, Default: NULL |
sign_sep |
Need space before % sign? |
percentage_formatter(x = 4.2822212, digitz = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.