Learn R Programming

MoTBFs (version 2.0)

motbf2bnlearn: 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)

Value

An object of class bn.

Arguments

bn

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