| edgelist_to_mat | R Documentation |
Convert edge list to a square sparse matrix
edgelist_to_mat(edges, nodes = NULL, symmetric = TRUE)
edges |
A data frame with columns |
nodes |
Optional character vector of node names. If |
symmetric |
Logical. If |
A sparse dgCMatrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.