Description Usage Arguments Value
Standardizes the x-axis limits and breaks of a ggplot.
1 2 3 4 5 6 7 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.