cnOrder-method | R Documentation |
The function returns an order of the nodes of a network that is compatible with its parent structure.
cnOrder(object)
object |
a |
An order is compatible with the parent structure of a network if
each node has as parents only nodes appearing earlier in that order.
That such an order exists is guaranteed by the fact that every catNetwork
is a DAG (Directed Acyclic Graph). The result is one order out of, eventually, many possible.
a list of node indices.
N. Balov, P. Salzman
cnet <- cnRandomCatnet(numnodes=20, maxParents=3, numCategories=2) cnOrder(object=cnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.