DAGtoCPDAG | R Documentation |
Converts a directed acyclic graph (DAG) into it's equivalence class corresponding to a completed partially directed acyclic graph (CPDAG).
DAGtoCPDAG(x)
x |
A matrix, cia_chain, or cia_chains object. When it is a chain(s) object the state must be an adjacency matrix. |
x Returns same object type converted to a CPDAG.
dag <- UniformlySampleDAG(LETTERS[1:3])
DAGtoCPDAG(dag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.