get.adjlist {igraph} | R Documentation |
Adjacency lists
Description
get.adjlist()
was renamed to as_adj_list()
to create a more
consistent API.
Usage
get.adjlist(
graph,
mode = c("all", "out", "in", "total"),
loops = c("twice", "once", "ignore"),
multiple = TRUE
)
Arguments
graph |
The input graph. |
mode |
Character scalar, it gives what kind of adjacent edges/vertices
to include in the lists. ‘ |
loops |
Character scalar, one of |
multiple |
Logical scalar, set to |
[Package igraph version 2.0.3 Index]