View source: R/matrixoperations.R
adj2el | R Documentation |
Maps adjacency matrix to edgelist
adj2el(adj, directed = TRUE)
adj |
matrix, the adjacency matrix |
directed |
boolean, is the graph directed? |
a dataframe containing the edgelist
data(contacts.adj)
el <- adj2el(contacts.adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.