Description Usage Arguments Value Examples
(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.
1 | bn2gn(bn, nv="n")
|
bn |
the bn object |
nv |
'n' for node level, 'v' for variable level. |
the resulting gn object
1 2 | rebastaba3k("RESET"); # (only for R checking)
print(bn2gn(rebastaba.bn1));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.