Learn R Programming

caugi (version 1.0.0)

as_dagitty: Convert a caugi to a dagitty graph

Description

Convert a caugi to a dagitty graph

Usage

as_dagitty(x)

Value

A dagitty object.

Arguments

x

A caugi object.

See Also

Other conversions: as_adjacency(), as_bnlearn(), as_caugi(), as_igraph()

Examples

Run this code
cg <- caugi(
  A %-->% B,
  class = "DAG"
)
g_dg <- as_dagitty(cg)

Run the code above in your browser using DataLab