edgelist_to_adj | R Documentation |
Convert edgelist and edgeweight to adjacency matrix.
edgelist_to_adj(edgelist, edgeweight, directed = TRUE)
edgelist |
A two column matrix representing edges. |
edgeweight |
A vector representing the weight of edges. If |
directed |
Logical, whether the network is directed. |
Returns an adjacency matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.