View source: R/perm.net.links.R
perm.net.lk | R Documentation |
Permutes matrix links.
perm.net.lk(M, sym = FALSE, erase.diag = TRUE, nperm, progress = TRUE)
M |
a square adjacency matrix or a list of square adjacency matrices. |
sym |
if true it vectorizes the lower triangle only . |
erase.diag |
if true it erases the diagonal of the matrix. |
nperm |
number of permutations wanted. |
progress |
a boolean indicating if the permutation process must 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 interaction such as assortativity.
Sebastian Sosa, Ivan Puga-Gonzalez.
Sosa, S. (2018). Social Network Analysis, in: Encyclopedia of Animal Cognition and Behavior. Springer.
t=perm.net.lk(sim.m, sym = FALSE, erase.diag = TRUE, nperm=10, progress=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.