Description Usage Arguments Details Value Author(s)
Get adjacent vertices
1 | vs_adjacent(g, v.names, mode = c("out", "in", "all"))
|
g |
graph object |
v.names |
character vector, names of vertices |
mode |
character, "out" (default), "in" or "all", direction from given vertices. |
Refer to igraph::adjacent_vertices
named list of vertices
ZG Zhao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.