Description Usage Arguments Value
Probability of a graph given an order.
1 2 | graphProbGivenOrder(x, order, numberOfNodes, nodesSeq,
scoresParents, parentsTables, allRows, rowsThatContain)
|
x |
A BN |
order |
A vector length |
numberOfNodes |
The number of nodes in the network. A numeric vector of length 1. |
nodesSeq |
The vector 1:nNodes(currentNetwork). (Supplied as an argument for possible speed gain) |
scoresParents |
A list of the form returned by
|
parentsTables |
A list of tables of the form
returned by |
allRows |
The vector 1:nrow(parentsTables). (Supplied as an argument for possible speed gain) |
rowsThatContain |
A list of the form created by
|
The probabilty of that graph given the order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.