Package: causalPAF 1.2.5

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.

Authors:Maurice O'Connell [aut, cph, cre], John Ferguson [aut, cph]

causalPAF_1.2.5.tar.gz
causalPAF_1.2.5.zip(r-4.7-any)causalPAF_1.2.5.zip(r-4.6-any)causalPAF_1.2.5.zip(r-4.5-any)
causalPAF_1.2.5.tgz(r-4.6-any)causalPAF_1.2.5.tgz(r-4.5-any)
causalPAF_1.2.5.tar.gz(r-4.7-any)causalPAF_1.2.5.tar.gz(r-4.6-any)
causalPAF_1.2.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
causalPAF/json (API)

# Install 'causalPAF' in R:
install.packages('causalPAF', repos = c('https://mauriceoconnell.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mauriceoconnell/causalpaf/issues

Datasets:
  • strokedata - Fictional ischemic stroke data case control data with risk factors, exposures and confounders
  • strokedata_smallSample - Fictional ischemic stroke data case control data with risk factors, exposures and confounders

On CRAN:

Conda:

3.00 score 2 stars 1 scripts 352 downloads 17 exports 66 dependencies

Last updated from:438b502c6c. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE151
source / vignettesOK257
linux-releaseNOTE139
macos-releaseNOTE251
macos-oldrelNOTE238
windows-develNOTE106
windows-releaseNOTE90
windows-oldrelNOTE76
wasm-releaseOK116

Exports:addInSplinesTo_in_outcausalPAFplotcheckMarkovDAGdo_simdo_sim_sequentialPAFeval_make_DAGeval_make_formulaindirect_PAF_Sjolander_onesimulationmake_DAGmake_DAG_AdjustmentSets_in_outmake_formulaoverall_directpath_specific_onesimulationpointEstimatesequential_PAFsim_outnodesim_outnode_2

Dependencies:abindbackportsbase64encbootcachemcheckmateclicpp11curldagittydata.tabledplyrfarverfastmapforcatsforestplotgenericsggdagggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisepillarpkgconfigplyrpolyclippurrrR6RColorBrewerRcppRcppArmadilloreshape2rlangrlistS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8V8vctrsviridisviridisLitewithrXMLyaml