View source: R/ggplot_set_scale.R
ggplot_set_scale_y_con | R Documentation |
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.
ggplot_set_scale_y_con(plot1, set_axis_type)
set_axis_type |
either "dollar" or "percent" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.