bn2gn: creates a gn object from a bn object

Description Usage Arguments Value Examples

Description

(bn) from a bn object extracts the necessary information to create a gn object (the directed graph of the BN). According to 'nv', the graph can be built at the node or variable level.

Usage

1
bn2gn(bn, nv="n")

Arguments

bn

the bn object

nv

'n' for node level, 'v' for variable level.

Value

the resulting gn object

Examples

1
2
 rebastaba3k("RESET"); # (only for R checking)
 print(bn2gn(rebastaba.bn1));

rebastaba documentation built on May 2, 2019, 5:24 p.m.

Related to bn2gn in rebastaba...