Y_to_E {VBLPCM} | R Documentation |
calculate the edgelist for a given adjacency matrix
Description
calls C code to quickly transform from adjacency to edgelist
Usage
Y_to_E(N, NE, directed, Y)
Arguments
N |
number of nodes |
NE |
number of edges |
directed |
logical indicator of directedness; TRUE=>directed FALSE=>undirected |
Y |
input adjacency matrix |
Value
An edgelist matrix E of size NE x 2
Author(s)
Michael Salter-Townshend
See Also
edgelist, E_to_Y
[Package VBLPCM version 2.4.9 Index]