cluster_resolution_RandomOrderFULL: cluster_resolution_RandomOrderFULL

Description Usage Arguments Value Examples

Description

cluster_resolution_RandomOrderFULL is enlargement of function cluster_resolution in the case where outcome based on random order of nodes. Function repeats rep times algorithm and return all the obtained results (see the return section).

Usage

1
2
cluster_resolution_RandomOrderFULL(graph, t = 1, directed = FALSE,
  rep = 10)

Arguments

graph

An igraph network or a data frame of three columns: source, target, and weights.

t

The time-scale parameter of the process which uncovers community structures at different resolutions.

directed

Logical. TRUE if the network is directed. Ignored if graph is an igraph object.

rep

You can choose the number of repetitions. The default is 10.

Value

return list where we have (1) table with each result, (2) modularity for each outcome, (3) the best clustering, (4) the the highest value of modularity which the best clustering has.

Examples

1
2
3
4
library(igraph)
g <- nexus.get("miserables")
cluster_resolution_RandomOrderFULL(g,directed=FALSE,t=1)
cluster_resolution_RandomOrderFULL(g,directed=FALSE,t=1,rep=20)

analyxcompany/resolution documentation built on May 12, 2019, 2:40 a.m.