Package: DAGassist 0.2.9

DAGassist: Test Robustness with Directed Acyclic Graphs
Provides robustness checks to align estimands with the identification that they require. Given a 'dagitty' object and a model specification, 'DAGassist' classifies variables by causal roles, recovers a target estimand, and generates a report comparing the original model with DAG-derived adjustment sets. Exports publication-grade reports in 'LaTeX', 'Word', 'Excel', 'dotwhisker', or plain text/'markdown'. 'DAGassist' is built on 'dagitty', an 'R' package that uses the 'DAGitty' web tool (<https://dagitty.net/>) for creating and analyzing DAGs. Methods draw on Pearl (2009) <doi:10.1017/CBO9780511803161> and Textor et al. (2016) <doi:10.1093/ije/dyw341>.
Authors:
DAGassist_0.2.9.tar.gz
DAGassist_0.2.9.zip(r-4.7)DAGassist_0.2.9.zip(r-4.6)DAGassist_0.2.9.zip(r-4.5)
DAGassist_0.2.9.tgz(r-4.6-any)DAGassist_0.2.9.tgz(r-4.5-any)
DAGassist_0.2.9.tar.gz(r-4.7-any)DAGassist_0.2.9.tar.gz(r-4.6-any)
DAGassist_0.2.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
DAGassist/json (API)
| # Install 'DAGassist' in R: |
| install.packages('DAGassist', repos = c('https://grahamgoff.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/grahamgoff/dagassist/issues
Pkgdown/docs site:https://grahamgoff.github.io
Last updated from:328607fb99. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 167 | ||
| source / vignettes | OK | 245 | ||
| linux-release-x86_64 | OK | 148 | ||
| macos-release-arm64 | OK | 109 | ||
| macos-oldrel-arm64 | OK | 83 | ||
| windows-devel | OK | 173 | ||
| windows-release | OK | 185 | ||
| windows-oldrel | OK | 95 | ||
| wasm-release | OK | 166 |
Exports:%>%add_edges_robustnessbad_controls_inclassify_nodesDAGassistpdag_robustness
Dependencies:backportsbayestestRbootbroomcheckmateclicpp11crayoncurldagittydata.tabledatawizarddotwhiskerdplyrfarverFormulagenericsggplot2gluegridExtragtableinsightisobandjsonlitelabelinglifecyclemagrittrmarginaleffectsMASSparameterspatchworkperformancepillarpkgconfigpurrrR6RColorBrewerRcpprlangS7scalesstringistringrtibbletidyrtidyselectutf8V8vctrsviridisLitewithrwritexl
Last update: 2026-06-28
Started: 2026-02-19
Last update: 2025-09-10
Started: 2025-09-09
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Diagnose robustness to added ("missing") edges | add_edges_robustness |
| flag bad controls (mediator/collider/desc of Y) among a candidate set | bad_controls_in |
| Classify DAG nodes | classify_nodes |
| Generate and/or export report that classifies nodes, compares models, and (optionally) target causal estimands. | DAGassist |
| Diagnose adjustment-set and role robustness to uncertain edge directions | pdag_robustness |
| Print an edge-addition (exclusion) robustness summary | print.DAGassist_addedge_summary |
| Print a PDAG robustness summary | print.DAGassist_pdag_summary |
| Print method for DAGassist reports | print.DAGassist_report |
| Print node classifications (aligned) | print.DAGassist_roles |
| Minimal, clean printout for validation results with color coding | print.DAGassist_validation |
