Scale time series data by transformation.
Usage
iidda_plot_scales(plot_object, data = NULL, scale_transform = "log1p")
Arguments
- plot_object
a `ggplot2` plot object
- data
data frame containing time series data. If `NULL` data is inherited from `plot_object`.
- scale_transform
transformation to apply to y
variable, must be a valid ggplot2 transformation.
Value
a ggplot2 plot object with scaled y
data