powered by
Convert a caugi to an igraph object
as_igraph(x, ...)
An igraph object representing the same graph structure.
igraph
A caugi object.
caugi
Additional arguments passed to igraph::graph_from_data_frame().
igraph::graph_from_data_frame()
Other conversions: as_adjacency(), as_bnlearn(), as_caugi(), as_dagitty()
as_adjacency()
as_bnlearn()
as_caugi()
as_dagitty()
cg <- caugi( A %-->% B, class = "DAG" ) ig <- as_igraph(cg)
Run the code above in your browser using DataLab