SCOREplus function

community detection method called SCORE+

community detection method called SCORE+

SCOREplus(A, k, c = 0.1, r = NULL)

Arguments

  • A: n-by-n binary symmtric adjacency matrix.
  • k: number of communities (>1).
  • c: (optional) tuning parameter for Graph Laplacian, default is 0.1.
  • r: (optional) latent dimension (>1), if not given, chosen between k and k+1 determined by eigen gap

Returns

A list containing

  • label: Predicted community labels
  • ratios: n-by-(K-1) or n-by-r ratio matrix.
  • delta: calculated delta parameter
  • eig.vec: Top r eigen vectors
  • eig.val: Top r eigen values

Examples

library(igraphdata) library(igraph) data('karate') A = get.adjacency(karate) karate.plus.out = SCOREplus(A, 2) karate.plus.out$labels
  • Maintainer: Shengming Luo
  • License: GPL-2
  • Last published: 2019-06-14

Useful links