node ordering utilities {bnlearn} | R Documentation |
Partial node orderings
Description
Find the partial node ordering implied by a network.
Usage
node.ordering(x, debug = FALSE)
Arguments
x |
an object of class |
debug |
a boolean value. If |
Value
node.ordering()
returns a vector of character strings, an ordered set
of node labels.
Note
node.ordering()
supports only completely directed Bayesian networks.
Author(s)
Marco Scutari
Examples
dag = random.graph(LETTERS[1:10])
ord = node.ordering(dag)
ord
[Package bnlearn version 5.0 Index]