| cnMatParents-method | R Documentation |
Returns the binary matrix of parent-child relations of a catNetwork object.
cnMatParents(object, nodeorder)
object |
a |
nodeorder |
an integer |
The resulting matrix has a value 1 at row i and column j if
i-th node has j-th node as a parent, and 0 otherwise.
A matrix
N. Balov, P. Salzman
cnParents, cnMatEdges
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnMatParents(object=cnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.