as_multi_adj {netUtils} | R Documentation |
Convenience function that turns a list of igraph objects into adjacency matrices.
as_multi_adj(g_lst, attr = NULL, sparse = FALSE)
g_lst |
A list of igraph object |
attr |
Either NULL or a character string giving an edge attribute name. If NULL a binary adjacency matrix is returned. |
sparse |
Logical scalar, whether to create a sparse matrix. The 'Matrix' package must be installed for creating sparse matrices. |
List of numeric matrices
David Schoch