Learn R Programming

climatehealth (version 1.0.0)

air_pollution_power_list: Air Pollution Power Calculation using Meta Results

Description

Produce a power statistic by region for PM2.5 attributable mortality using meta-analysis results

Usage

air_pollution_power_list(
  meta_results,
  data_with_lags,
  ref_pm25 = 15,
  attr_thr = 95,
  include_national = TRUE
)

Value

A list containing power information by region

Arguments

meta_results

Meta-analysis results from air_pollution_meta_analysis

data_with_lags

Lagged data frame

ref_pm25

Numeric. Reference PM2.5 value for attributable risk calculation

attr_thr

Integer. Percentile at which to define the PM2.5 threshold for calculating attributable risk. Defaults to 95.

include_national

Logical. Whether to include national level calculations. Defaults to TRUE.