Description Usage Arguments Value Examples
(bn) Returns the parents of all nodes or all variables of 'bn'.
1 | parents8bn(bn, of="n")
|
bn |
the bn object. |
of |
'n' of the nodes; 'v' of the variables. |
A list of character vectors containing the names of the parents, each component of the list is associated to an item (node or variable). When there is no parent, character(0) is returned.
1 2 3 | rebastaba3k("RESET"); # (only for R checking)
parents8bn(rebastaba.bn2, "n");
parents8bn(rebastaba.bn2, "v");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.