ggdag: Analyze and Create Elegant Directed Acyclic Graphs

Tidy, analyze, and plot directed acyclic graphs (DAGs). 'ggdag' is built on top of 'dagitty', an R package that uses the 'DAGitty' web tool (<https://dagitty.net/>) for creating and analyzing DAGs. 'ggdag' makes it easy to tidy and plot 'dagitty' objects using 'ggplot2' and 'ggraph', as well as common analytic and graphical functions, such as determining adjustment sets and node relationships.

Version: 0.2.12
Depends: R (≥ 3.4.0)
Imports: dagitty, dplyr, forcats, ggplot2 (≥ 3.0.0), ggraph (≥ 2.0.0), ggrepel, igraph, magrittr, pillar, purrr, rlang, stringr, tibble, tidygraph
Suggests: covr, knitr, rmarkdown, spelling, testthat (≥ 3.0.0), vdiffr (≥ 1.0.2), withr
Published: 2024-03-08
Author: Malcolm Barrett ORCID iD [aut, cre]
Maintainer: Malcolm Barrett <malcolmbarrett at gmail.com>
BugReports: https://github.com/r-causal/ggdag/issues
License: MIT + file LICENSE
URL: https://github.com/r-causal/ggdag, https://r-causal.github.io/ggdag/
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: ggdag results

Documentation:

Reference manual: ggdag.pdf
Vignettes: Common Structures of Bias
An Introduction to Directed Acyclic Graphs
An Introduction to ggdag

Downloads:

Package source: ggdag_0.2.12.tar.gz
Windows binaries: r-devel: ggdag_0.2.12.zip, r-release: ggdag_0.2.12.zip, r-oldrel: ggdag_0.2.12.zip
macOS binaries: r-release (arm64): ggdag_0.2.12.tgz, r-oldrel (arm64): ggdag_0.2.12.tgz, r-release (x86_64): ggdag_0.2.12.tgz
Old sources: ggdag archive

Reverse dependencies:

Reverse imports: causalPAF, CausalQueries, episensr
Reverse suggests: dagwood, marginaleffects, mvGPS

Linking:

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