cnParents-method {sdnet} | 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
cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2) cnParents(object=cnet)