Description Usage Arguments Value See Also
Sample from posterior distribution on graph, conditional on all the edges, except for those corresponding to the parents sets of two nodes.
1 2 | samplePair(currentNetwork, numberOfNodes, nodesSeq,
scoresParents, parentsTables, allRows, rowsThatContain)
|
currentNetwork |
A |
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
|
Returns the sampled network. A currentNetwork
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.