| is_caugi | R Documentation |
caugi graph?Checks if the given object is a caugi. Mostly used
internally to validate inputs.
is_caugi(x, throw_error = FALSE)
x |
An object to check. |
throw_error |
Logical; if |
A logical value indicating whether the object is a caugi.
Other queries:
ancestors(),
anteriors(),
children(),
components(),
descendants(),
districts(),
edge_types(),
edges(),
exogenous(),
is_acyclic(),
is_admg(),
is_ag(),
is_cpdag(),
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 <- caugi(
A %-->% B,
class = "DAG"
)
is_caugi(cg) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.