Description Usage Arguments Details Value Examples
(bn) From a bn/gn structure, and two related nodes (first being an ancestor of second) of it, the set of all nodes having them as ascendant and descendant (intermediate nodes) is returned. Notice that the starting and ending nodes are not returned.
1 | ind8bgn(bgn, ion)
|
bgn |
The original bn or gn. |
ion |
A pair of nodes (not variables) of bgn. |
No checks about bgn
The set of concerned nodes without the ion nodes as a named numeric. So a returned numeric(0) means that ion[1] is a direct parent of ion[2].
1 2 3 4 | rebastaba3k("RESET"); # (only for R checking)
ind8bgn(rebastaba.bn1, c(1, 3));
ind8bgn(rebastaba.bn1, c(2, 3));
## Not run: ind8bgn(rebastaba.bn2, c(2, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.