The function calculates modularity of the list of networks in the nullDist parameter.
Modularity is calculated using the
if the parameter weights is NULL the atribute "weigths" is used, or if it has the name of an network attribute,
that is used as a weigth to build the modules, when this parameter is NA then no weigth is used.
Only works for one component networks.
calc_modularity(ig, ncores = 0)
list of igraph objects to calculate modularity
number of cores used to compute in parallel, if 0 sequential processing is used.
a data.frame with the field Modularity
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.