Description Usage Arguments Details Value Examples
(bn) Proposes an order exploring the parentship of the nodes, such that parents are always before their children. Such an order can be used for drawing from the joint distribution.
1 | porder(bgn)
|
bgn |
The bn or gn object |
This assumes no cycle within the graph. If so, the fact is
discovered, a message is issued and the function stops the
program.
No check is made about the argument.
order: a compatible order for the calculation of the joint probability. It is given with respect to the "nk/vk" numbering.
1 2 | rebastaba3k("RESET"); # (only for R checking)
porder(rebastaba.bn2);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.