rewires the graph, creates the communities and compares the communities through different measures.
rewireCompl(
data,
number,
community,
method = c("walktrap", "edgeBetweenness", "fastGreedy", "louvain", "spinglass",
"leadingEigen", "labelProp", "infomap", "optimal", "leiden", "other"),
...,
measure = c("vi", "nmi", "split.join", "adjusted.rand"),
FUN = NULL
)
The output of prepGraph
Number of rewiring trials to perform.
Community to compare with.
The clustering method, one of "walktrap", "edgeBetweenness", "fastGreedy", "louvain", "spinglass", "leadingEigen", "labelProp", "infomap".
additional parameters to use with any of the previous described methods (see igraph package community detection methods for more details i.e. cluster_walktrap)
The measure for the comparison of the communities "vi", "nmi", "split.join", "adjusted.rand"
see methodCommunity
.