dagitty2graph | R Documentation |
Convert a dagitty object to a igraph object.
dagitty2graph(dagi, verbose = FALSE, ...)
dagi |
A graph as a dagitty object ("dag" or "pdag"). |
verbose |
A logical value. If TRUE, the output graph is shown. This argument is FALSE by default. |
... |
Currently ignored. |
An igraph object.
Mario Grassi mario.grassi@unipv.it
# Conversion from igraph to dagitty (and viceversa)
dagi <- graph2dagitty(sachs$graph, verbose = TRUE)
graph <- dagitty2graph(dagi, verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.