adj_to_edgelist | R Documentation |
igraph
package.Converts an adjacency matrix to edgelist and edgeweight using the
igraph
package.
adj_to_edgelist(adj, directed = TRUE, weighted = TRUE)
adj |
Adjacency matrix of a network. |
directed |
Logical, whether the network is directed. This value is
passed to |
weighted |
Logical, whether the network is weighted. |
A list of edgelist, edgeweight and directed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.