motbf2grain: Export discrete motbf to grain format

View source: R/VariableEliminationFunctionsClean.R

motbf2grainR Documentation

Export discrete motbf to grain format

Description

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

Usage

motbf2grain(bn)

Arguments

bn

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

Value

An object of class grain.


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