Description Usage Arguments Details Value Author(s) See Also Examples
Marginal probability of a node, joint probability of a set of nodes or conditional probability of two sets of nodes.
1 2 3 | cnNodeMarginalProb(object, node)
cnJointProb(object, nodes)
cnCondProb(object, x, y)
|
object |
a |
node |
an |
nodes |
a |
x,y |
|
cnJointProb
returns a matrix
with probability values for each combinations of categories arranged in columns. cnCondProb
calculates the value of P(X=x|Y=y).
a numerical or numerical matrix
N. Balov
1 2 3 | cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2)
cnNodeMarginalProb(cnet, node=5)
cnCondProb(cnet, x=c("N1"=1, "N2"=2), y=c("N3"=1, "N4"=2, "N5"=2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.