Description Usage Arguments Details Value Author(s) See Also Examples
Returns the binary matrix of parent-child relations of a catNetwork
object.
1 | 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
1 2 | cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2)
cnMatParents(object=cnet)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.