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.5)causalPAF_1.2.5.zip(r-4.4)causalPAF_1.2.5.zip(r-4.3)
causalPAF_1.2.5.tgz(r-4.4-any)causalPAF_1.2.5.tgz(r-4.3-any)
causalPAF_1.2.5.tar.gz(r-4.5-noble)causalPAF_1.2.5.tar.gz(r-4.4-noble)
causalPAF_1.2.5.tgz(r-4.4-emscripten)causalPAF_1.2.5.tgz(r-4.3-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'))

Peer review:

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:

2.70 score 1 stars 1 scripts 240 downloads 17 exports 70 dependencies

Last updated 2 years agofrom:438b502c6c. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winNOTENov 16 2024
R-4.5-linuxNOTENov 16 2024
R-4.4-winNOTENov 16 2024
R-4.4-macNOTENov 16 2024
R-4.3-winOKNov 16 2024
R-4.3-macOKNov 16 2024

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:abindbackportsbootcachemcheckmateclicolorspacecpp11curldagittydata.tabledplyrfansifarverfastmapforcatsforestplotgenericsggdagggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigplyrpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppEigenreshape2rlangrlistscalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8V8vctrsviridisviridisLitewithrXMLyaml