View source: R/graph_structures.R
as_multi_adj | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.