nodeperm | R Documentation |
Permute node labels of a network
nodeperm(mat, mode = "directed", weighted = TRUE, diag = FALSE)
mat |
Network matrix |
mode |
Character string; How igraph should interpret matrix; default is 'directed' – other common choice is 'undirected' |
weighted |
Logical; if TRUE (default), network is weighted; if FALSE, network is not weighted |
diag |
Logical; if FALSE (default), self-nominations are removed; if TRUE, network will include self-nominations |
An igraph object with the same underlying structure as original network, but randomized node labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.