| nodes | R Documentation |
caugiGet nodes or edges of a caugi
nodes(cg, ...)
vertices(cg, ...)
V(cg, ...)
cg |
A |
... |
Additional arguments (currently unused). |
A data.table with a name column.
Other queries:
ancestors(),
anteriors(),
children(),
components(),
descendants(),
districts(),
edge_types(),
edges(),
exogenous(),
is_acyclic(),
is_admg(),
is_ag(),
is_caugi(),
is_cpdag(),
is_dag(),
is_empty_caugi(),
is_mag(),
is_mpdag(),
is_pdag(),
is_simple(),
is_ug(),
m_separated(),
markov_blanket(),
neighbors(),
parents(),
posteriors(),
same_nodes(),
spouses(),
subgraph(),
topological_sort()
cg <- caugi(
A %-->% B,
B %-->% C,
D,
class = "DAG"
)
nodes(cg) # returns the data.table with nodes A, B, C, D
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.