convertNodePair {noisySBM} | R Documentation |
transform a pair of nodes (i,j) into an identifying integer
Description
Associates an identifying integer with a pair of nodes (i,j)
Usage
convertNodePair(i, j, n, directed)
Arguments
i |
scalar or vector |
j |
scalar or vector, same length as i |
n |
number of vertices |
directed |
booelan to indicate whether the model is directed or undirected |
Details
returns the row number of the matrix build by listNodePairs(n) containing the pair (i,j)
[Package noisySBM version 0.1.4 Index]