Description Usage Arguments Examples
View source: R/plot_templates.R
A template function for producing column plots for the IEP Seasonal Monitoring Report.
1 2 3 4 5 6 7 8 9 |
data |
Default dataset to use for plot. If not already a data.frame,
will be converted to one by |
mapping |
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot. |
report_year |
The user-defined report year for the Seasonal Monitoring Report. Must be an integer. |
season |
The season for the Seasonal Monitoring Report.
Must be one of the following: |
type |
The scale type to use. |
nudge.factor |
Vertical nudge of missing data symbols, as a fraction of the data range. Default is 0.015 (1.5%). |
... |
other arguments to pass to |
1 2 | test = data.frame(year = 2004:2018, catch = c(sample(100:500, 14), NA))
standard_column_plot(test, aes(x = year, y = catch), 2018)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.