Skip to contents

All functions

as.data.frame(<pif_class>)
Transform to data.frame
coef(<pif_class>)
Extract point estimate of potential impact fraction or population attributable fraction
confint(<pif_class>)
Extract confidence intervals for the potential impact fraction or the population attributable fraction
diagnostic_plot()
Diagnostic bootstrap plots for pif_class
ensanut
ENSANUT 2018
estimator_se_from_ci()
Mean estimator's standard error from asymptotically normal confidence interval
estimator_var_from_ci()
Mean estimator's variance from asymptotically normal confidence interval
get_bootstrap_simulations()
Get bootstrap simulations from pif and paf
get_fraction_type()
Get whether object is population attributable fraction or potential impact fraction
get_pif_simulations()
Get bootstrap simulations exclusively from pif and paf
get_theta_simulations()
Get bootstrap simulations for theta
is_paf()
Check if object is population attributable fraction
is_pif()
Check if object is potential impact fraction
mean(<pif_class>)
Extract mean of bootstrap simulations of potential impact fraction or population attributable fraction
n_bootstrap()
Extract number of bootstrap simulations
overall_fraction_type()
Joint PIF/PAF type
paf()
Population Attributable Fraction
paf_combine()
Joint PAF: Combine attributable fractions from independent and uncorrelated risk factors
pif()
Potential Impact Fraction
pif_class()
pif_class class
pif_combine()
Joint PIF: Combine impact fractions from independent and uncorrelated risk factors
plot(<pif_class>)
Plot the population attributable fraction or the potential impact fraction
print(<pif_class>)
Print an impact or attributable fraction
quantile_bootstrap()
Extract quantiles of the potential impact fraction or population attributable fraction bootstrap simulations
sd_bootstrap()
Extract standard deviations of bootstrap simulations of potential impact fraction or population attributable fraction
summary(<pif_class>)
Return potential impact fraction or population attributable fraction summary
tidy(<pif_class>)
Transform to tibble
var_bootstrap()
Extract the variance of bootstrap simulations of potential impact fraction or population attributable fraction