format_percentage | R Documentation |
Express fractions as percentages, to the precision given by digits
.
format_percentage(x, digits = 0, suffix = "%", ...)
x |
(numeric) |
(character)
format_percentage(1.00)
format_percentage(2/3)
format_percentage(2/3, digits = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.