Description Usage Arguments Details Value Author(s) See Also Examples
This is a model selection routine that finds a network in a set of networks for a given complx.
1 2 |
object |
|
complx |
an |
alpha |
a |
factor |
a |
numsamples |
an |
The complx must be at least the number of nodes of the networks. If no network with the requested complx exists in the list, then the one with the closest complx is returned.
Alternatively, one can apply some standard model selection with alpha
="BIC" and alpha
=AIC.
A catNetwork
object.
N. Balov
1 2 3 4 5 | cnet <- cnRandomCatnet(numnodes=10, maxpars=2, numcats=2)
psamples <- cnSamples(object=cnet, numsamples=100)
netlist <- cnSearchOrder(data=psamples, maxParentSet=2)
bnet <- cnFind(object=netlist, complx=cnComplexity(cnet))
bnet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.