View source: R/shuffle_infomap.R
shuffle_infomap | R Documentation |
Shuffles the network according to a predefined algorithm and return a list of linklists that can be analyzed by Infomap.
shuffle_infomap(x, shuff_method = "r00", nsim = 1000, ...)
x |
An object of class |
shuff_method |
Method to shuffle the network. See details. |
nsim |
How many shuffled networks to create? |
... |
Additional parameters for shuffling passed to |
This function is used internally by
run_infomap_monolayer
, but can also be run independently
Currently only supports bipartite networks and shuffling methods from the
vegan package as defined in vegan::commsim
.
A list of linklists that can be used by Infomap.
Functions commsim, nullmodel
in package vegan
.
network_object <- create_monolayer_network(bipartite::memmott1999,
bipartite = TRUE, directed = FALSE, group_names = c('A','P'))
shuffled <- shuffle_infomap(network_object, shuff_method='curveball',
nsim=50, burnin=2000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.