| is_cpdag | R Documentation |
caugi graph a CPDAG?Checks if the given caugi graph is a
Complete Partially Directed Acyclic Graph (CPDAG).
is_cpdag(cg)
cg |
A |
A logical value indicating whether the graph is a CPDAG.
C. Meek (1995). Causal inference and causal explanation with background knowledge. In Proceedings of the Eleventh Conference on Uncertainty in Artificial Intelligence (UAI-95), pp. 403–411. Morgan Kaufmann.
Other queries:
ancestors(),
anteriors(),
children(),
components(),
descendants(),
districts(),
edge_types(),
edges(),
exogenous(),
is_acyclic(),
is_admg(),
is_ag(),
is_caugi(),
is_dag(),
is_empty_caugi(),
is_mag(),
is_mpdag(),
is_pdag(),
is_simple(),
is_ug(),
m_separated(),
markov_blanket(),
neighbors(),
nodes(),
parents(),
posteriors(),
same_nodes(),
spouses(),
subgraph(),
topological_sort()
cg_cpdag <- caugi(
A %---% B,
A %-->% C,
B %-->% C,
class = "PDAG"
)
is_cpdag(cg_cpdag) # TRUE
cg_not_cpdag <- caugi(
A %---% B,
A %---% C,
B %-->% C,
class = "PDAG"
)
is_cpdag(cg_not_cpdag) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.