Description Usage Arguments Details Value Author(s) See Also
Creates a catNetwork object from list of nodes and edges.
1 | cnCatnetFromEdges(nodes, edges, numcats=2)
|
nodes |
a |
edges |
a |
numcats |
an |
The function uses a list of nodes and directional edges to create a catNetwork with specified (fixed) number of node categories.
A random probability model is assigned, which can be changed later by cnSetProb for example.
Note that cnSetProb takes a given data sample and changes both the node categories and their conditional probabilities
according to it.
A catNetwork object
N. Balov
cnNew, cnCatnetFromSif, cnSetProb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.