Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ordering

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 bn or bn.fit.

debug

a boolean value. If TRUE a lot of debugging output is printed; otherwise the function is completely silent.

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

bnlearn

Bayesian Network Structure Learning, Parameter Learning and Inference

v4.6.1
GPL (>= 2)
Authors
Marco Scutari [aut, cre], Robert Ness [ctb]
Initial release
2020-09-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.