Description Usage Arguments Examples
Create a simple ggplot displaying a DAG created with dagitt::dagitty
or ggdag::dagify()
.
1 | gg_dag(dag, size = 7, highlight = "U")
|
dag |
a DAG |
size |
size of the nodes |
highlight |
a vector of names of nodes to display in a highlighted color |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.