rewireCompl | R Documentation |
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 )
data |
The output of prepGraph |
number |
Number of rewiring trials to perform. |
community |
Community to compare with. |
method |
The clustering method, one of "walktrap", "edgeBetweenness", "fastGreedy", "louvain", "spinglass", "leadingEigen", "labelProp", "infomap". |
FUN |
see |
measure |
The measure for the comparison of the communities "vi", "nmi", "split.join", "adjusted.rand" |
directed |
This argument is settable only for "edgeBetweenness" method |
weights |
this argument is not settable for "infomap" method |
steps |
this argument is settable only for "leadingEigen"and"walktrap" method |
spins |
This argument is settable only for "infomap" method |
e.weights |
This argument is settable only for "infomap" method |
v.weights |
This argument is settable only for "infomap" method |
nb.trials |
This argument is settable only for "infomap" method |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.