Description Usage Arguments Value See Also
View source: R/format_numbers.R
Format a percentage for displaying.
1 | format_perc(x, decimals = eenv_decimals, force_perc_decimals = FALSE)
|
x |
The number to format. |
decimals |
The number of decimals to round to (not p-values). |
force_perc_decimals |
TRUE if decimals should be displayed for percentages. |
A string.
Other variables and functions for displaying numbers: eenv_decimals,
eenv_signif_bottom,
eenv_signif_digits,
eenv_signif_steps,
format_float, format_int,
format_number, format_pad,
format_p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.