powered by
Returns the list of parents of selected nodes of a catNetwork object. If which is not specified, the parents of all nodes are listed.
catNetwork
which
cnParents(object, which)
a catNetwork object
a vector of node indices
A list of named nodes.
cnMatParents, cnEdges
cnMatParents
cnEdges
# NOT RUN { cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2) cnParents(object=cnet) # }
Run the code above in your browser using DataLab