as_adj {igraph} | R Documentation |
Convert a graph to an adjacency matrix
Description
We plan to remove
as_adj()
in favor of the more explicitly named
as_adjacency_matrix()
so please use as_adjacency_matrix()
instead.
Usage
as_adj(
graph,
type = c("both", "upper", "lower"),
attr = NULL,
edges = deprecated(),
names = TRUE,
sparse = igraph_opt("sparsematrices")
)
Arguments
[Package igraph version 2.1.4 Index]