connect.neighborhood {igraph} | R Documentation |
Neighborhood of graph vertices
Description
connect.neighborhood()
was renamed to connect()
to create a more
consistent API.
Usage
connect.neighborhood(graph, order, mode = c("all", "out", "in", "total"))
Arguments
graph |
The input graph. |
order |
Integer giving the order of the neighborhood. |
mode |
Character constant, it specifies how to use the direction of
the edges if a directed graph is analyzed. For ‘out’ only the
outgoing edges are followed, so all vertices reachable from the source
vertex in at most |
[Package igraph version 2.0.3 Index]