Description Usage Arguments Value Examples
Generate a conditional probability table from a product Dirichlet distribution.
1 | ptablesDirichlet(alpha, nlevels)
|
alpha |
Vector containing shape parameters. |
nlevels |
The number of levels of each of the parents of the node. |
A table of the form required for
simulate.bn
.
1 | ptablesDirichlet(c(1, 2), c(3, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.