summary_plot | R Documentation |
Generate a summary plot of individual station CAAQS values, grouped by Airzone
summary_plot(
data,
metric_val,
station,
airzone,
parameter,
base_size = 12,
pt_size = 4,
az_labeller = label_value,
...
)
data |
a data frame with columns for the metric value, the station name, and the air zone |
metric_val |
name of column in data containing the CAAQS metric value for each station |
station |
name of column in data containing monitoring station names |
airzone |
name of column in data containing arizones |
parameter |
the name of the column containing the parameter(s) of interest |
base_size |
base font size (default 12) |
pt_size |
size of points (default 4) |
az_labeller |
ggplot2 labeller function to customize the airzone labels.
Default |
... |
options passed on to theme() |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.