Convert a caugi_graph to an adjacency matrix
as_adjacency.RdDoes not take other edge types than the one found in a PDAG.
See also
Other conversion:
as_bnlearn(),
as_caugi(),
as_dagitty(),
as_igraph()
Examples
cg <- caugi_graph(
A %-->% B,
class = "DAG"
)
adj <- as_adjacency(cg)