cpdag {bnlearn}R Documentation

Find the equivalence class of a Bayesian network

Description

Find the equivalence class of a Bayesian network.

Usage

cpdag(x, debug = FALSE)

Arguments

x an object of class bn.
debug a boolean value. If TRUE a lot of debugging output is printed; otherwise the function is completely silent.

Value

An object of class bn, representing the equivalence class. See bn-class for details.

Author(s)

Marco Scutari

References

Pearl J (2000). Causality: Models, Reasoning and Inference. Cambridge University Press.

Examples

data(learning.test)
cpdag(gs(learning.test))

[Package bnlearn version 1.7 Index]