View source: R/perm.net.links.single.R
perm.net.links.single | R Documentation |
Permute matrix links.
perm.net.links.single(
M,
sym = FALSE,
erase.diag = TRUE,
nperm,
progress = TRUE
)
M |
a square adjacency matrix . |
sym |
if true will vectorize only the lower triangle. |
erase.diag |
if true will not keep the diagonal of the matrix. |
nperm |
number of permutations wanted. |
progress |
a boolean indicating if the permutation process has to be visible. |
Edge permutations can be used to create random networks based on the observed network. Such permutation method is useful when analysing patterns of interactions such as assortativity.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.