fmt_percent | R Documentation |
fmt_
functions are designed to work with number_format()
.
fmt_percent(digits = 1, format = "f", ...)
digits |
How many digits to print. |
format, ... |
Passed into |
An object you can pass into number_format()
.
Other format functions:
fmt_pretty()
jams$Sugar <- c("Sugar content", 0.4, 0.35, 0.45) set_number_format(jams, -1, "Sugar", fmt_percent(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.