Description Usage Arguments Value Examples
View source: R/impact_factor.R
produces a vector of the impact factor over 120 years.
1 2 | impact_factor(delta_pm = 1, lag_structure = 1, RR = 1.06,
unit = 10)
|
delta_pm |
A numeric vector. The annual reduction from baseline of future PM2.5 concentrations. The final value will be assumed to remain constant until the end of the 120 year period. |
lag_structure |
A numeric vector specifying the structure of any cessation lag. |
RR |
A number. Specifies the relative risk from an epidemiologiccal study. |
unit |
A number. The unit change associated with the relative risk |
A numeric vector of length 120 specifying the impact factor over the next 120 years
1 2 3 4 5 6 7 8 9 10 11 | # PM concentration reduced by 1 mcg/m3 in year 1, no cessation lag, RR = 1.06 per 10mcg/m3.
impact_factor()
#US EPA cessation-lag structure
epa_lag <- cumsum(c(0.3, rep(0.5, 4), rep(0.2/15, 15)))
impact_factor(lag_structure = epa_lag)
# 5 year linear cessation-lag. PM concentration falls by 0.1mcg/m3 per year for 10 years.
pm <- seq(0.1, 1, 0.1)
linear_lag <- seq(0.1, 1, 5)
impact_factor(pm, linear_lag)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.