View source: R/scale_percent.R
scale_percent_1 | R Documentation |
Set scale to percent with one decimal place
scale_percent_1(x)
accuracy |
integer to determine the number of places to show after decimal point |
In a ggplot plot, use the following to set to y-axis in percent with one decimals.
scale_y_continuous(labels = arlodr::scale_percent_1, limits=c(.02,NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.