motbf2bnlearn: Export discrete motbf to bnlearn format

View source: R/VariableEliminationFunctionsClean.R

motbf2bnlearnR Documentation

Export discrete motbf to bnlearn format

Description

Export a discrete BN created with motbf.fit to an object of class "bn" of package bnlearn.

Usage

motbf2bnlearn(bn)

Arguments

bn

An object of class motbf_fit, obtained from function motbf.fit. Only discrete networks are valid.

Value

An object of class bn.


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