-
Sumbitted to CRAN first version of
pifpaf
: Estimates the Potential Impact Fraction and Population Attributable Fraction for cross-sectional data. Generates point estimate, confidence intervals and graphical analysis. -
pifpaf
includes thepif
andpaf
functions for estimating the population attributable fraction; thepif.confidence
andpaf.confidence
also compute confidence intervals. Finally,pif.sensitivity
,pif.plot
andpif.heatmap
provide graphical sensitivity analysis.