Description Usage Arguments Examples
Round percentages like SAS and display the % sign.
1 | round_sas_pct(x, digits = 0, by100 = TRUE)
|
x |
Numeric variable / value to round. |
digits |
Number of digits to display to the right of the decimal place. |
by100 |
Multiply the numeric variable / value by 100. |
1 2 3 | round_sas_pct(0.55)
round_sas_pct(0.555, digits = 1)
round_sas_pct(55.5, by100 = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.