Description Usage Arguments Value Note Author(s) References Examples
This function randomly resuffles a weighted edgelist.
1 | rg_reshuffling_w(net, option="weights", directed=NULL, seed=NULL)
|
net |
A weighted edgelist |
option |
what should be reshuffled: 1) weights (default): randomly assigns the weights to the edges; 2) links: maintain the degree distribution, but changes the contacts randomly. |
directed |
logical: is the network directed or undirected. Default: NULL |
seed |
seed for random generator, set if you want random yet reproducable results. |
Returns a randomised (reshuffled) network.
version 1.0.0
Tore Opsahl; http://toreopsahl.com
Molloy, M., Reed, B., 1995. A critical point for random graphs with a given degree sequence. Random Structures and Algorithms 6, 161-180.
Opsahl, T., Colizza, V., Panzarasa, P., Ramasco, J. J., 2008. Prominence and control: The weighted rich-club effect. Physical Review Letters 101 (168702). arXiv:0804.0417.
http://toreopsahl.com/2008/12/12/article-prominence-and-control-the-weighted-rich-club-effect/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.