scale_percent_2: Set scale to percent with two decimal places

View source: R/scale_percent.R

scale_percent_2R Documentation

Set scale to percent with two decimal places

Description

Set scale to percent with two decimal places

Usage

scale_percent_2(x)

Arguments

x

Examples

#' 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))

aranryan/arlodr documentation built on Jan. 21, 2025, 2:11 p.m.