DetectOverlappingCommunitiesSLPAw: Pure R implementation of SLPAw (Xie et. al 2011)

Description Usage Arguments Value

View source: R/crules.R

Description

Pure R implementation of SLPAw (Xie et. al 2011)

Usage

1
2
3
4
5
6
DetectOverlappingCommunitiesSLPAw(
  W,
  num.iters = 20,
  rand.seed = 42,
  community.threshold = 0.25
)

Arguments

W

a weighted walk matrix

num.iters

a predefined number of iterations after which to terminate the SLPA algorithm. Default 20, reported as empirically observed general stability threshold in the original paper.

rand.seed

an integer seed for the RNG, default=42

community.threshold

a number in [0,1] to determine the thresholding value for communities to report. The function will report all communities with a total number of labels >= floor(community.threshold * num.iters) in memory for each node.

Value

a list of lists of node IDs containing communities identified


rahuldhodapkar/crules documentation built on Jan. 21, 2022, 2:06 p.m.