Estimate Potential Impact and Population Attributable Fractions with Aggregated Data
Overview
Uses the delta-method to estimate the Potential Impact Fraction (PIF) and the Population Attributable Fraction (PAF) from summary data. It creates point-estimates, confidence intervals, and estimates of the variance. Provides an extension to the aggregated data method in Chan, Zepeda-Tello et al (2025) doi:10.1002/sim.70214.
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘as.data.frame.Rd’ ‘as.list.Rd’ ‘as.matrix.Rd’ ‘coef.Rd’ ‘confint.Rd’ ‘length.Rd’ ‘names.Rd’ ‘print.Rd’ ‘subset.Rd’ ‘summary.Rd’ ‘weights.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK9 OK2026-03-10
Documentation
- Help pages
- 30 (1 internal)includes a package overview page
- Examples that run
- 100%23 run in a plain check
- Exported functions with examples
- 92%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 13%
- Examples HTML
- Introduction HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 42
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/rodrigozepeda/deltapif on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-03-11 · The repository has a site deploy workflow
pkgdown site last built 2026-03-11
Show all practicesHide 1 practice
Dependencies
Installing deltapif adds 13 packages (7 with compiled code, 6.4 MB of source tarballs). Heaviest: Rcpp 1.8 MB, farver 1.2 MB, viridisLite 1.2 MB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.4.5Latest2026-03-08 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-03-08
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 3.9 KB / 4 files
- Download size
- 149 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("deltapif")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.