Description Usage Arguments Value
This function accepts up to eight parameters for use with the parameteric physical activity model, or two vectors of quantiles for the non-paraetric model. The function returns the population attributable fraction.
1 2 3 4 5 |
meanlog.baseline |
Mean of exposure in baseline (log-scale, parameteric model) |
sdlog.baseline |
Standard deviation of exposure in baseline (log-scale, parameteric model) |
p0.baseline |
Proportion of inactive travelers in baseline |
meanlog.scenario |
Mean of exposure in scenario (log-scale, parameteric model) |
sdlog.scenario |
Standard deviation of exposure in scenario (log-scale, parameteric model) |
p0.scenario |
Proportion of inactive travelers in scenario |
meanlog.leisure |
Mean of exposure in leisure physical activity (log-scale, parameteric model) |
sdlog.leisure |
Standard deviation of leisure physical activity in baseline (log-scale, parameteric model) |
n |
Number of quantiles (parametric) |
B |
Sample size (parametric model) |
P |
Quantiles of exposure in baseline (non-parametric model) |
Q |
Quantiles of exposure in scenario (non-parametric model) |
R |
Relative risk function in terms of total exposure (physical activity) |
type |
A character string. Either "parametric" or "non-parametric" |
The population attributable fraction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.