getR1R2: Get intermediate results for g.tests function
Description
This function calculates R1 and R2 quantities.
Usage
getR1R2(E, G1)
Arguments
E
A matrix with the number of rows the number of edges in the similarity graph and 2 columns. Each row records the subject indices of the two ends of an edge in the similarity graph.