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 list of named nodes.
a catNetwork object
a vector of node indices
N. Balov, P. Salzman
cnMatParents, cnEdges
cnMatParents
cnEdges
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnParents(object=cnet)
Run the code above in your browser using DataLab