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)causalPAF_1.2.5.zip(r-4.6)causalPAF_1.2.5.zip(r-4.5)
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.6-any)causalPAF_1.2.5.tar.gz(r-4.5-any)
causalPAF_1.2.5.tgz(r-4.5-emscripten)
causalPAF.pdf |causalPAF.html
causalPAF/json (API)
NEWS

# 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 296 downloads 17 exports 66 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE154
source / vignettesOK154
linux-release-x86_64NOTE164
macos-release-arm64NOTE176
macos-oldrel-arm64NOTE202
windows-develNOTE100
windows-releaseNOTE118
windows-oldrelNOTE140
wasm-releaseOK126

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