min_module_size: cutoff for the minimum modules size
min_submod_size: cutoff for submodules, used only for bipartite and tripartite networks
net_type: network type, see details
ave_degree: average degree of connection
rewire_prob_global: probability any given edge should be rewired
rewire_prob_local: probability that edges within a module should be rewire locally (within the module)
mixing_probs: module probabilities for first 7 types, used for constructing mixed networks
verbose: logical, default TRUE. Should a message report summary statistics?
Returns
an igraph object
Details
network type is one of
mixed
random
scalefree
nested
bi-partite nested (or short-hand "bn")
bi-partite random (or short-hand "br")
tri-trophic bipartite nested-random. (Can use short-hand "ttbnr")
tri-trophic bipartite nested-bipartite nested (Can use short-hand "ttbnbn")
Valid Parameter Ranges
Please note that not all combinations of parameters will create valid networks. If an invalid combination is requested, netgen() will error with an informative message. A list of these constraints is provided below for reference.
net_size \>= ave_module_size. If `net_size = ave_module_size`` the program generates a network with a single module.
ave_module_size \> min_module_size
ave_degree \>= 1. Preferably larger than 4, to ensure single component modules.
rewire_prob_global = 0 produces completely uncoupled modules. To ensure a single component network use rewire_prob_global \> 0 and sufficiently large.
rewire_prob_local = 0 produces idealized modules. Use rewire_prob_local \> 0 to add stochasticity to the modules.
For tripartite networks min_module_size \> min_submod_size. This also implies min_module_size \>= 2.