Learn R Programming

bnlearn (version 1.6)

cpdag: 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.

References

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

Examples

Run this code
data(learning.test)
cpdag(gs(learning.test))

Run the code above in your browser using DataLab