Description Usage Arguments Value Examples
(bn) A new bn is generated from the initial bn reduced to the
targetted nodes indicated in 'ion' and the parents of these nodes.
Independent uniform distributions are given to the parents AND AT THE
SAME TIME THEIR OWN RELATIONSHIPS ARE DELETED. For some argument
about this practice, see the DETAILS section of function study8nd.
To give an example, the graph (A->B; A->C; B->C)
will result into (A->C; B->C) if (C) is the targetted
node.
1 | bn2bn(bn, ion)
|
bn |
The original bn. |
ion |
The definition of the nodes (iin or name vector) |
The resulting bn
1 2 | rebastaba3k("RESET"); # (only for R checking)
print(bn2bn(rebastaba.bn2, "A"));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.