{
  "_id": "6a101711acfb0bcc41c84cad",
  "Type": "Package",
  "Package": "causalPAF",
  "Title": "Causal Effect for Population Attributable Fractions (PAF)",
  "Version": "1.2.5",
  "Date": "2022-08-18",
  "Authors@R": "c(\nperson(\"Maurice\", \"O'Connell\", , \"maurice.oconnell2@gmail.com\", role = c(\"aut\", \"cph\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9658-495X\")),\nperson(\"John\", \"Ferguson\", role = c(\"aut\", \"cph\"))\n)",
  "Description": "Calculates population attributable fraction causal\neffects. The 'causalPAF' package contains a suite of functions\nfor causal analysis calculations of population attributable\nfractions (PAF) given a causal diagram which apply both:\nPathway-specific population attributable fractions (PS-PAFs)\nO’Connell and Ferguson (2022) <doi:10.1093/ije/dyac079> and\nSequential population attributable fractions Ferguson,\nO’Connell, and O’Donnell (2020)\n<doi:10.1186/s13690-020-00442-x>.  Results are presentable in\nboth table and plot format.",
  "License": "GPL (>=2)",
  "URL": "https://github.com/MauriceOConnell/causalPAF",
  "BugReports": "https://github.com/MauriceOConnell/causalPAF/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "RoxygenNote": "7.2.1",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev libglpk-dev\nlibicu-dev libxml2-dev libssl-dev libnode-dev",
  "Repository": "https://mauriceoconnell.r-universe.dev",
  "Date/Publication": "2022-08-20 00:03:27 UTC",
  "RemoteUrl": "https://github.com/mauriceoconnell/causalpaf",
  "RemoteRef": "HEAD",
  "RemoteSha": "438b502c6cc012c5456d42d10c95b13301a15160",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:26:07 UTC",
    "User": "root"
  },
  "Author": "Maurice O'Connell [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0001-9658-495X>),\nJohn Ferguson [aut, cph]",
  "Maintainer": "Maurice O'Connell <maurice.oconnell2@gmail.com>",
  "MD5sum": "4144a3c09ce846b61976742bf69a3b12",
  "_user": "mauriceoconnell",
  "_type": "src",
  "_file": "causalPAF_1.2.5.tar.gz",
  "_fileid": "f86718042fe9ce67b959518cbc14b46d46dd4659e048f8beffadc2472d8c8257",
  "_filesize": 1254719,
  "_sha256": "f86718042fe9ce67b959518cbc14b46d46dd4659e048f8beffadc2472d8c8257",
  "_created": "2026-05-14T06:26:07.000Z",
  "_published": "2026-05-22T08:42:57.832Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345808549,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988563938"
    },
    {
      "job": 77345808592,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988571959"
    },
    {
      "job": 77345808353,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7010840796"
    },
    {
      "job": 77345808629,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7010820631"
    },
    {
      "job": 77345808305,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988525493"
    },
    {
      "job": 77345807892,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156410323"
    },
    {
      "job": 77345808298,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988559012"
    },
    {
      "job": 77345808582,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988550529"
    },
    {
      "job": 77345808493,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988553105"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mauriceoconnell/causalpaf",
  "_commit": {
    "id": "438b502c6cc012c5456d42d10c95b13301a15160",
    "author": "MauriceOConnell <maurice.oconnell2@gmail.com>",
    "committer": "MauriceOConnell <maurice.oconnell2@gmail.com>",
    "message": "unncessart .Rproj.user files appearing\n",
    "time": 1660953807
  },
  "_maintainer": {
    "name": "Maurice OConnell",
    "email": "maurice.oconnell2@gmail.com",
    "login": "mauriceoconnell",
    "twitter": "@mauriceoconnell",
    "uuid": 4921691,
    "orcid": "0000-0001-9658-495X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "dagitty",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forestplot",
      "role": "Imports"
    },
    {
      "package": "ggdag",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "rlist",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "mauriceoconnell",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "mauriceoconnell",
      "count": 41,
      "uuid": 4921691
    }
  ],
  "_userbio": {
    "uuid": 4921691,
    "type": "user",
    "name": "Maurice O Connell",
    "description": "Research Associate"
  },
  "_downloads": {
    "count": 219,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/causalPAF"
  },
  "_devurl": "https://github.com/mauriceoconnell/causalpaf",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/causalPAF.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mauriceoconnell/causalpaf",
  "_realowner": "mauriceoconnell",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.4",
      "date": "2021-10-26"
    },
    {
      "version": "1.2.5",
      "date": "2022-08-20"
    }
  ],
  "_exports": [
    "addInSplinesTo_in_out",
    "causalPAFplot",
    "checkMarkovDAG",
    "do_sim",
    "do_sim_sequentialPAF",
    "eval_make_DAG",
    "eval_make_formula",
    "indirect_PAF_Sjolander_onesimulation",
    "make_DAG",
    "make_DAG_AdjustmentSets_in_out",
    "make_formula",
    "overall_direct",
    "path_specific_onesimulation",
    "pointEstimate",
    "sequential_PAF",
    "sim_outnode",
    "sim_outnode_2"
  ],
  "_datasets": [
    {
      "name": "strokedata",
      "title": "Fictional ischemic stroke data case control data with risk factors, exposures and confounders",
      "object": "strokedata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "regionnn7",
        "case",
        "esex",
        "eage",
        "htnadmbp",
        "nevfcur",
        "global_stress2",
        "whrs2tert",
        "phys",
        "alcohfreqwk",
        "dmhba1c2",
        "cardiacrfcat",
        "ahei3tert",
        "apob_apoatert",
        "subeduc",
        "moteduc",
        "fatduc",
        "subhtn",
        "whr",
        "apob_apoa",
        "weights"
      ],
      "rows": 16623,
      "table": true,
      "tojson": true
    },
    {
      "name": "strokedata_smallSample",
      "title": "Fictional ischemic stroke data case control data with risk factors, exposures and confounders",
      "object": "strokedata_smallSample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "regionnn7",
        "case",
        "esex",
        "eage",
        "htnadmbp",
        "nevfcur",
        "global_stress2",
        "whrs2tert",
        "phys",
        "alcohfreqwk",
        "dmhba1c2",
        "cardiacrfcat",
        "ahei3tert",
        "apob_apoatert",
        "subeduc",
        "moteduc",
        "fatduc",
        "subhtn",
        "whr",
        "apob_apoa",
        "weights"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "causalPAFplot",
      "title": "Evaluates Total PAF, Direct PAF, Indirect PAF and Path Specific PAF for a user inputted number of bootstraps and integral simulations",
      "topics": [
        "causalPAFplot"
      ]
    },
    {
      "page": "checkMarkovDAG",
      "title": "Checks if the causal DAG satisfies the Markov condition",
      "topics": [
        "checkMarkovDAG"
      ]
    },
    {
      "page": "pointEstimate",
      "title": "Evaluates Point Estimates for Total PAF, Direct PAF, Indirect PAF and Path Specific PAF for a user inputted number of integral simulations. There is no bootstrap applied in this function.",
      "topics": [
        "pointEstimate"
      ]
    },
    {
      "page": "sequential_PAF",
      "title": "Sequential Population Attributable Fractions in a Bayesian Network.",
      "topics": [
        "sequential_PAF"
      ]
    },
    {
      "page": "strokedata",
      "title": "Fictional ischemic stroke data case control data with risk factors, exposures and confounders",
      "topics": [
        "strokedata"
      ]
    },
    {
      "page": "strokedata_smallSample",
      "title": "Fictional ischemic stroke data case control data with risk factors, exposures and confounders",
      "topics": [
        "strokedata_smallSample"
      ]
    }
  ],
  "_readme": "https://github.com/mauriceoconnell/causalpaf/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "boot",
    "cachem",
    "checkmate",
    "cli",
    "cpp11",
    "curl",
    "dagitty",
    "data.table",
    "dplyr",
    "farver",
    "fastmap",
    "forcats",
    "forestplot",
    "generics",
    "ggdag",
    "ggforce",
    "ggplot2",
    "ggraph",
    "ggrepel",
    "glue",
    "graphlayouts",
    "gridExtra",
    "gtable",
    "igraph",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "pillar",
    "pkgconfig",
    "plyr",
    "polyclip",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "reshape2",
    "rlang",
    "rlist",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "tweenr",
    "utf8",
    "V8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "XML",
    "yaml"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "causalpaf",
  "_universes": [
    "mauriceoconnell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-14T06:28:46.000Z",
      "distro": "noble",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "9394349fa7e44e19691c77248b46371289876b48b325c1d38b4353a9efefdde8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-14T06:29:30.000Z",
      "distro": "noble",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "0a68d8e2246668bda48af59aa3fee5434ba234baec44f4089e010c87070a9054",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-15T05:41:30.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "851c590c46e491a37b4bb440e17fb20791749c9fee43921de417987f03de4a85",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-15T05:39:43.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "83afcbba6426e90188730d556a3d72237c1692d52431af15f4988abaecfd4074",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-14T06:28:17.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "2d826aee47920e021b3f705c144b3c6b9fb46a0ca7ddfdbdc5c28e75f9780af3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-14T06:27:35.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "55fa055bb10da02c29957bcd90ddc246fdde15d4613adda61e68661747852966",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-14T06:27:49.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "b48363f16ca3613a5185b41450ade3ef6719692f88c0a605c1d9812290ad0d9b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-05-22T08:42:37.000Z",
      "commit": "438b502c6cc012c5456d42d10c95b13301a15160",
      "fileid": "f5856d3fd82984518c549e0e6d21ce4e9356f047b25e6e8bd2305408daf82cee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mauriceoconnell/actions/runs/25845353791"
    }
  ]
}