RodrigoZepeda / pifpaf

`R` package for estimating the potential impact fraction and the population attributable fraction for cross-sectional data.
https://rodrigozepeda.github.io/pifpaf/
Other
2 stars 2 forks source link

Add subpopulations #42

Open RodrigoZepeda opened 1 year ago

RodrigoZepeda commented 1 year ago

Add subpopulations to the pif object.

RodrigoZepeda commented 1 year ago

pif(..., sex == "male", ...) would be such a subpopulation