Get the induced subgraph
subgraph.RdGet the induced subgraph
Arguments
- cg
A
caugi_graphobject.- nodes
A vector of node names, a vector of unquoted node names, or an expression combining these with
+andc().- index
A vector of node indexes.
See also
Other queries:
ancestors(),
children(),
descendants(),
edge_types(),
edges(),
exogenous(),
is_acyclic(),
is_caugi(),
is_cpdag(),
is_dag(),
is_empty_caugi(),
is_pdag(),
markov_blanket(),
neighbors(),
nodes(),
parents(),
same_nodes()