adj2el.Rd
Maps adjacency matrix to edgelist
adj2el(adj, directed = TRUE)
matrix, the adjacency matrix
boolean, is the graph directed?
a dataframe containing the edgelist
data(contacts.adj)
#> Warning: data set ‘contacts.adj’ not found
el <- adj2el(contacts.adj)