cnEdges-method | R Documentation |
Returns the set of directed edges of a catNetwork
object.
cnEdges(object, which)
object |
a |
which |
a |
The edges of a catNetwork
are specified as parent-to-child vectors.
The function returns a list that for each node with index in the vector which
contains its set of children.
If which
is not specified, the children of all nodes are listed.
A list of nodes' children.
N. Balov, P. Salzman
cnParents
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnEdges(object=cnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.