Creates both Attributable Number (AN) and Attributable Rate (AR) monthly time series plots in a single function call.
plot_air_pollution_an_ar_monthly(
analysis_results,
max_lag = 14L,
include_national = TRUE,
output_dir = NULL,
save_plot = FALSE
)List with two ggplot objects: an_plot and ar_plot
Results from analyze_air_pollution_daily
Integer. Maximum lag used in analysis. Defaults to 14.
Logical. Whether to include national results. Default TRUE.
Character. Directory to save plot
Logical. Whether to save the plot