Description Usage Arguments Value Examples
(bn) A new bn is generated from the initial bn where the ion-th node is modified with a Dirac distribution without parents. Then the structure of the bn can be different. Parameter 'val' gives the value to provide.
1 | Dirac4bn(bn, ion, val=rbsb.num0)
|
bn |
The original bn. |
ion |
The definition of the node (iin or name vector) |
val |
The value to give to the node. Must be a numeric if the
node is numeric and a character if it is categoric (belonging to the
lpod). |
The resulting bn
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.