View source: R/adjacency_to_edges.R
Y_to_nonE | R Documentation |
uses C code to quickly calculate all non-edges as a two column matrix given an adjacency matrix. i.e. all zeros in the adjacency matrix will correspond to a row in the non-edgelist nonE
Y_to_nonE(N, NnonE, directed, Y)
N |
number of nodes |
NnonE |
number of non-edges |
directed |
logical indicator of directedness; TRUE=>directed FALSE=>undirected |
Y |
input adjacency matrix |
A matrix of the non-edges with NnonE rows and 2 columns where NnonE is the number of non-edges.
Michael Salter-Townshend
Y_to_E, Y_to_M, E_to_Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.