causalPAF: Causal Effect for Population Attributable Fractions (PAF)

Calculates population attributable fraction causal effects. The 'causalPAF' package contains a suite of functions for causal analysis calculations of population attributable fractions (PAF) given a causal diagram which apply both: Pathway-specific population attributable fractions (PS-PAFs) O’Connell and Ferguson (2022) <doi:10.1093/ije/dyac079> and Sequential population attributable fractions Ferguson, O’Connell, and O’Donnell (2020) <doi:10.1186/s13690-020-00442-x>. Results are presentable in both table and plot format.

Getting started

Package details

AuthorMaurice O'Connell [aut, cph, cre] (<https://orcid.org/0000-0001-9658-495X>), John Ferguson [aut, cph]
MaintainerMaurice O'Connell <maurice.oconnell2@gmail.com>
LicenseGPL (>= 2)
Version1.2.5
URL https://github.com/MauriceOConnell/causalPAF
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("causalPAF")

Try the causalPAF package in your browser

Any scripts or data that you put into this service are public.

causalPAF documentation built on Aug. 20, 2022, 1:05 a.m.