`adj2el.Rd`

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)#> Warning: data set ‘contacts.adj’ not foundel <- adj2el(contacts.adj)