SCOREplus: community detection method called SCORE+

Description Usage Arguments Value Examples

Description

community detection method called SCORE+

Usage

1
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

Value

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

1
2
3
4
5
6
library(igraphdata)
library(igraph)
data('karate')
A = get.adjacency(karate)
karate.plus.out = SCOREplus(A, 2)
karate.plus.out$labels

ScorePlus documentation built on June 14, 2019, 9:03 a.m.