Description Usage Arguments Value Author(s) See Also Examples
A function to find the next parent set in the sequence.
1 | nxt(g, max.indeg)
|
g |
A binary vector of length |
max.indeg |
The maximum in-degree of the network |
A different binary vector of length nodes
Simon Spencer
countGraphs
,interventionalDBN-package
1 2 3 4 5 | g<-rep(0,7)
for (i in 1:countGraphs(7,3)) {
cat(g,"\n")
g<-nxt(g,3)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.