Questions tagged [dagitty]

DAGitty is a browser-based environment for creating, editing, and analyzing causal diagrams (also known as directed acyclic graphs or causal Bayesian networks).

This library is available in this website.

1 questions
0
votes
0 answers

ggdag plot backdoor paths only

How can I use ggdag to plot backdoor paths only? For instance, given the following code: library(ggdag) tidy_ggdag <- dagify( y ~ t + x1, t ~ x1, exposure = "t", outcome = "y" ) %>% tidy_dagitty() ggdag_paths(tidy_ggdag) +…
robertspierre
  • 3,218
  • 2
  • 31
  • 46