ggplot_set_scale_y_con: set format of scale_y_continuous

Description Usage Arguments

View source: R/ggplot_set_scale.R

Description

Created to be used in automated creation of graphs when the format of the y-axis (horizontal axis when used in bar graph after coord_flip()) needs to be set based on a variable (e.g. graphing concepts such as occupancy and revpar in the same process.

Usage

1
ggplot_set_scale_y_con(plot1, set_axis_type)

Arguments

set_axis_type

either "dollar" or "percent"


aranryan/arlodr documentation built on Oct. 8, 2020, 12:46 p.m.