Perform a spectral clustering

spcClust(X, K)

Arguments

X

an Adjacency matrix

K

the number of clusters

Value

A vector : The clusters labels