Description Usage Arguments Details
View source: R/auxiliaryFunctions.R
Associates an identifying integer with a pair of nodes (i,j)
1 | convertNodePair(i, j, n, directed)
|
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 |
returns the row number of the matrix build by listNodePairs(n) containing the pair (i,j)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.