rewireCompl: rewireCompl

View source: R/ROBIN.R

rewireComplR Documentation

rewireCompl

Description

rewires the graph, creates the communities and compares the communities through different measures.

Usage

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
)

Arguments

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 methodCommunity.

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


robin documentation built on May 17, 2022, 1:07 a.m.