Learn R Programming

climatehealth (version 1.0.0)

plot_air_pollution_power: Plot Power vs PM2.5 Concentration

Description

Plots the power statistic for each reference PM2.5 at and above the attributable risk threshold for each region.

Usage

plot_air_pollution_power(
  power_list,
  output_dir = NULL,
  save_plot = FALSE,
  ref_name = "WHO",
  include_national = TRUE
)

Value

Invisible list of plot information

Arguments

power_list

A list containing power information by region.

output_dir

Character. Directory to save plot. Defaults to NULL.

save_plot

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

ref_name

Character. Reference standard name for plot title.

include_national

Logical. Whether to include national level in the plot. Defaults to TRUE.