toBNLearn: Convert to bnlearn object.

View source: R/to_bnlearn.R

toBNLearnR Documentation

Convert to bnlearn object.

Description

Convert to bnlearn object.

Usage

toBNLearn(x)

Arguments

x

An object that represents a DAG.

Value

bn_obj A bn object.

Examples

adj <- UniformlySampleDAG(c('A', 'B', 'C'))
toBNLearn(adj)


cia documentation built on April 4, 2025, 5:23 a.m.