Maps adjacency matrix to edgelist
adj2el(adj, directed = TRUE)
matrix, the adjacency matrix
boolean, is the graph directed?
a dataframe containing the edgelist
# NOT RUN { data(contacts.adj) el <- adj2el(contacts.adj) # }
Run the code above in your browser using DataLab