smr_x_axis.Rd
Standardizes the x-axis limits and breaks of a ggplot.
smr_x_axis( report_year, type = c("all", "recent"), season = c("annual", "winter", "spring", "summer", "fall"), interval, start_year )
report_year | The user-defined report year for the Seasonal Monitoring Report. Must be an integer. |
---|---|
type | The scale type to use. |
season | The season for the Seasonal Monitoring Report.
Must be one of the following: |
interval | (optional) override the x-axis break interval.
By default, |
start_year | (optional) override the x-axis lower limit. |
A ggplot continuous x-axis scale.