getDAG: Retrieve DAG from BN

View source: R/LearningBN.R

getDAGR Documentation

Retrieve DAG from BN

Description

Get the Directed acyclic graph (DAG) from a Bayesian network (BN)

Usage

getDAG(bn)

Arguments

bn

An object of class motbf_fit or bn.fit (from bnlearn package).

Value

An object of class bn (same class as in bnlearn package).


MoTBFs documentation built on Oct. 6, 2026, 1:06 a.m.