Description Usage Arguments Value Author(s)
View source: R/spectral.clustering.R
Use spectral clustering and its variant for community detection in a network.
1 | spectral.clustering(A, normalised = TRUE, score = FALSE, K = 2, adj = FALSE)
|
A |
input matrix – adjacency matrix of an observed graph based on the non-isolated nodes, of dimension |
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. |
a vector of labels are returned.
Yang Feng, Richard J. Samworth and Yi Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.