catNetwork from Edges
catNetwork object from list of nodes and edges.
cnCatnetFromEdges(nodes, edges, numcats=2)
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.
cnSetProb takes a given data sample and changes both the node categories and their conditional probabilities
according to it.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.