induced.subgraph {igraph} | R Documentation |
Subgraph of a graph
Description
induced.subgraph()
was renamed to induced_subgraph()
to create a more
consistent API.
Usage
induced.subgraph(
graph,
vids,
impl = c("auto", "copy_and_delete", "create_from_scratch")
)
Arguments
graph |
The original graph. |
vids |
Numeric vector, the vertices of the original graph which will form the subgraph. |
impl |
Character scalar, to choose between two implementation of the
subgraph calculation. ‘ |
[Package igraph version 2.0.3 Index]