View source: R/adjacency_to_edges.R
Y_to_E | R Documentation |
calls C code to quickly transform from adjacency to edgelist
Y_to_E(N, NE, directed, Y)
N |
number of nodes |
NE |
number of edges |
directed |
logical indicator of directedness; TRUE=>directed FALSE=>undirected |
Y |
input adjacency matrix |
An edgelist matrix E of size NE x 2
Michael Salter-Townshend
edgelist, E_to_Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.