Description Usage Arguments Examples
View source: R/common_functions.R
A version of scales::percent() that allows for rounded digit so that you can have 20
1 | round_percent(x, dig = 1)
|
x |
a numeric vector to format |
dig |
the number of digits after the percent to round. Default to 1. |
1 2 | round_percent(.24601)
round_percent(.24601, dig = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.