Skip to contents

Convert a caugi to an igraph object

Usage

as_igraph(x, ...)

Arguments

x

A caugi object.

...

Additional arguments passed to igraph::graph_from_data_frame().

Value

An igraph object representing the same graph structure.

See also

Examples

cg <- caugi(
  A %-->% B,
  class = "DAG"
)
ig <- as_igraph(cg)