scale_percent_1: Set scale to percent with one decimal place

Description Usage Arguments Examples

View source: R/scale_percent.R

Description

Set scale to percent with one decimal place

Usage

1

Arguments

accuracy

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

Examples

1
2
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 Oct. 8, 2020, 12:46 p.m.