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", "other"),
FUN = NULL,
measure = c("vi", "nmi", "split.join", "adjusted.rand"),
directed = FALSE,
weights = NULL,
steps = 4,
spins = 25,
e.weights = NULL,
v.weights = NULL,
nb.trials = 10,
resolution = 1
)
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".
see methodCommunity
.
The measure for the comparison of the communities "vi", "nmi", "split.join", "adjusted.rand"
This argument is settable only for "edgeBetweenness" method
this argument is not settable for "infomap" method
this argument is settable only for "leadingEigen"and"walktrap" method
This argument is settable only for "infomap" method
This argument is settable only for "infomap" method
This argument is settable only for "infomap" method
This argument is settable only for "infomap" method
only for "louvain" and "leiden". Optional resolution parameter, lower values typically yield fewer, larger clusters (default=1).