Learn R Programming

climatehealth (version 1.0.0)

plot_air_pollution_monthly_histograms: Plot histograms for AN and AR by month

Description

Creates histogram plots for Attributable Number (AN) and Attributable Rate (AR) aggregated by month with connecting lines

Usage

plot_air_pollution_monthly_histograms(
  analysis_results,
  max_lag = 14L,
  include_national = TRUE,
  output_dir = NULL,
  save_plot = FALSE
)

Value

List with ggplot objects

Arguments

analysis_results

Processed results with RR/AF/AN/AR with lag variables

include_national

Logical. Whether to include national results. Default TRUE.

output_dir

Character. Directory to save plots.

save_plot

Logical. Whether to save the plots.