Description Usage Arguments Details Value Author(s) See Also Examples
Given a set of nodes and a graph this function creates and returns subgraph with only the supplied nodes and any edges between them.
1 | subGraph(snodes, graph)
|
snodes |
A |
graph |
A graph object, it must inherit from the |
The returned subgraph is a copy of the graph. Implementations for
Implementations for graphNEL
, distGraph
and
clusterGraph
.
A graph of the same class as the graph
argument but with only
the supplied nodes.
R. Gentleman
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.