cnParents-method | R Documentation |
Returns the list of parents of selected nodes of a catNetwork
object. If which
is not specified, the parents of all nodes are listed.
cnParents(object, which)
object |
a |
which |
a vector of node indices |
A list of named nodes.
N. Balov, P. Salzman
cnMatParents
, cnEdges
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnParents(object=cnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.