Skip to contents
library(pifpaf)
#> pifpaf ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#> To cite package 'pifpaf' in publications use:
#> 
#>   Zepeda-Tello R, Camacho-García-Formentí D (2023). _pifpaf: Potential
#>   Impact Fraction and Population Attributable Fraction from
#>   Cross-Sectional Data_. R package version 2.0.0,
#>   <https://rodrigozepeda.github.io/pifpaf/>
#> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Population Attributable Fraction (paf and paf_approximate)

paf

Estimating the impact of SSB consumption in Mexican population

paf_approximate

Estimating the impact of a cigarrete consumption in US

Potential Impact Fraction (pif and pif_approximate)

pif

Estimating the impact of a sodium intake reduction in the Mexican population via

pif_approximate

Estimating the impact of a sodium intake reduction in the Australian population via

Using a relative-risk function