rg_reshuffling_tm {tnet} | R Documentation |
This function randomly resuffles a binary two-mode edgelist.
rg_reshuffling_tm(net, seed=NULL)
net |
A two-mode edgelist |
seed |
seed for random generator, set if you want random yet reproducable results. |
Returns a binary two-mode edgelist.
version 1.0.0
Tore Opsahl; http://toreopsahl.com
http://toreopsahl.com/2009/05/29/weighted-rich-club-effect-a-more-appropriate-null-model-for-scientific-collaboration-networks/
## Load data (subset) net <- read.table("http://opsahl.co.uk/tnet/datasets/Newman-Cond_mat_95-99-two_mode.txt", nrows=100) ## Run the function rg_reshuffling_tm(net, seed=1)