Analyze and Create Elegant Directed Acyclic Graphs
DAG labels
DAG Nodes
Assess if a variable confounds a relationship
Test for object class for tidy_dagitty
Find Instrumental Variables
Activate paths opened by stratifying on a collider
Covariate Adjustment Sets
Convert DAGS to tidygraph
ggdag: Analyze and Create Elegant Directed Acyclic Graphs
Convert objects into tidy_dagitty objects
Convert a tidy_dagitty object to data.frame
Convert a tidy_dagitty object to tbl
Canonicalize a DAG
Find colliders
Detecting colliders in DAGs
Adjust for variables and activate any biasing paths that result
Manipulate DAG coordinates
D-relationship between variables
Create a dagitty DAG
Create a dagitty DAG using R-like syntax
Dplyr verb methods for tidy_dagitty objects
Quickly plot a DAG in ggplot2
Generating Equivalent Models
Find Exogenous Variables
Quickly scale the size of a ggplot
Fortify a tidy_dagitty object for ggplot2
Edges for paths activated by stratification on colliders
Directed DAG edges
Directed and bidirected DAG edges
Node text labels
Node text
Quickly plot a DAG in ggplot2
Create a new ggplot
Find Open Paths Between Variables
Pipe operator
Print a tidy_dagitty
Pull components from DAG objects
Quickly create a DAGs with common structures of bias
Objects exported from other packages
Quickly remove plot axes and grids
Repulsive textual annotations
Common scale adjustments for DAGs
Simulate Data from Structural Equation Model
Find variable status
Convert a tidy_dagitty object to tbl_df
Minimalist DAG themes
Simple grey themes for DAGs
Tidy a dagitty object
Create a time-ordered coordinate data frame
Familial relationships between variables
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.
Useful links