View source: R/scale_percent.R
scale_percent_0 | R Documentation |
Set scale to percent with no decimal places
scale_percent_0(x)
x |
In a ggplot plot, use the following to set to y-axis in percent with no decimals.
#' scale_y_continuous(labels = arlodr::scale_percent_0, limits=c(.02,NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.