pif_class class
pif_class.Rd
An S7::S7_class()
for saving the bootstrap simulations of the potential
impact fraction pif()
and the population attributable fraction paf()
.
Usage
pif_class(
n_boot_simulations = class_missing,
is_paf = class_missing,
bootstrap_design = class_missing,
theta_simulations = class_missing,
pif_classulations = class_missing
)
Arguments
- n_boot_simulations
Number of bootstrap simulations
- is_paf
(
boolean
) Whether the function being estimated is the Population Attributable Fraction (is_paf = TRUE
) or the Potential Impact Fraction (is_paf = FALSE
)- bootstrap_design
The survey bootstrap design utilized for estimating
pif
orpaf
.- theta_simulations
Simulations for the parameter
theta
of the relative risk.- pif_classulations
Bootstrap simulations for the impact fraction or the attributable fraction.