Learn R Programming

climatehealth (version 1.0.0)

plot_air_pollution_forest_by_region: Plot forest plot for PM2.5 effects by region

Description

Plot forest plot for PM2.5 effects by region

Usage

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

Value

ggplot object

Arguments

analysis_results

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

max_lag

Integer. The maximum lag days for outdoor PM2.5. Defaults to 14.

include_national

Logical. Whether to include national results. Default TRUE.

output_dir

Character. Directory to save plot. Defaults to NULL.

save_plot

Logical. Whether to save the plot. Defaults to FALSE.