Description Usage Arguments Details Value Examples
(bn) A new bn is generated from the initial bn where the ion-th node is modified with a uniform distribution without parents. Then the structure of the bn can be different.
1 | uniform4bn(bn, ion, val=rbsb.num0)
|
bn |
The original bn. |
ion |
The definition of the node (iin or name) |
val |
( |
If numeric, the limits for the uniform are taken from lpod (or lred
if infinite). If categoric, the limits are numcat uniform onto
lpod.
This modification of node is possible only for univariate
nodes.
The resulting bn
1 2 3 | rebastaba3k("RESET"); # (only for R checking)
print(uniform4bn(rebastaba.bn2, 1));
print(uniform4bn(rebastaba.bn1, "B"));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.