View source: R/2d-propd-graflex.R
permuteOR | R Documentation |
This function permutes p
odds ratios for the
edge overlap between two non-random graphs.
It does this by randomly shuffling the rows and
columns of A
(jointly, thus preserving
the degree distribution).
permuteOR(A, G, p = 500, fixseed = FALSE)
A , G |
An adjacency matrix. |
p |
An integer. The number of overlaps to permute. |
fixseed |
A logical. If |
Note that this function calculates overlap for the lower-left triangle of the input matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.