spectral.clustering: Spectral clustering and its variant.

Description Usage Arguments Value Author(s)

View source: R/spectral.clustering.R

Description

Use spectral clustering and its variant for community detection in a network.

Usage

1
spectral.clustering(A, normalised = TRUE, score = FALSE, K = 2, adj = FALSE)

Arguments

A

input matrix – adjacency matrix of an observed graph based on the non-isolated nodes, of dimension n.noniso x n.noniso, where n.noniso is the number of the non-isolated nodes.

normalised

a logic variable indicating whether normalised Laplacian matrix is used in community detection.

score

a logical variable indicating whether the RoE is used.

K

input integer – the pre-specified number of communities, with the default value 2.

adj

adjacency matrix is used or not.

Value

a vector of labels are returned.

Author(s)

Yang Feng, Richard J. Samworth and Yi Yu


fcd documentation built on May 2, 2019, 3:28 p.m.

Related to spectral.clustering in fcd...