as_bnlearn: Convert a caugi to a bnlearn network

View source: R/caugi_to.R

as_bnlearnR Documentation

Convert a caugi to a bnlearn network

Description

Convert a caugi to a bnlearn network

Usage

as_bnlearn(x)

Arguments

x

A caugi object.

Value

A bnlearn DAG.

See Also

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

Examples

cg <- caugi(
  A %-->% B,
  class = "DAG"
)
g_bn <- as_bnlearn(cg)


caugi documentation built on Oct. 28, 2026, 1:07 a.m.