DAGassist: Test Robustness with Directed Acyclic Graphs

Provides robustness checks driven by directed acyclic graphs (DAGs). Given a 'dagitty' DAG object and a model specification, 'DAGassist' classifies variables by causal roles, flags problematic controls, and generates a report comparing the original model with minimal and canonical adjustment sets. Exports publication-grade reports in 'LaTeX', 'Word', 'Excel', or plain text. '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>.

Version: 0.2.4
Depends: R (≥ 3.5)
Imports: broom, cli, crayon, dagitty, magrittr, stats, tools, utils, writexl
Suggests: fixest, ggdag, knitr, modelsummary, rmarkdown, testthat (≥ 3.0.0), tidyverse
Published: 2025-09-21
Author: Graham Goff ORCID iD [aut, cre], Michael Denly ORCID iD [ctb]
Maintainer: Graham Goff <goffgrahamc at gmail.com>
BugReports: https://github.com/grahamgoff/DAGassist/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/grahamgoff/DAGassist, https://grahamgoff.github.io/DAGassist/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: DAGassist results

Documentation:

Reference manual: DAGassist.html , DAGassist.pdf
Vignettes: Supported Models (source, R code)
Get Started (source, R code)
Getting Started with Report Creation (source, R code)
quick-tour (source, R code)

Downloads:

Package source: DAGassist_0.2.4.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DAGassist to link to this page.