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