View source: R/factories-free-aaf-cmp.R
Produces the combined and scaled function that respresents the preventable fraction of disease that, when integrated against exposure, produces an attributable fraction term.
1 2 3 4 5 6 7 8 | makePreventableFraction(
bb,
non_bingers,
bingers,
p_bat_error_correction,
ext_risk,
binge_risk
)
|
bb |
dbl, binge barrier |
non_bingers |
dbl, proportion of drinkers below BB that do not binge |
bingers |
dbl, proportion of drinkers below BB that do binge |
ext_risk |
fn, extrapolated relative risk for nonbingers |
binge_risk |
fn, extrapolated relative risk for bingers |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.