scale_percent_1: Set scale to percent with one decimal place

View source: R/scale_percent.R

scale_percent_1R Documentation

Set scale to percent with one decimal place

Description

Set scale to percent with one decimal place

Usage

scale_percent_1(x)

Arguments

accuracy

integer to determine the number of places to show after decimal point

Examples

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


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