spec_clust.Rd
Perform spectral clustering (with regularization) to estimate communities
spec_clust(
A,
K,
type = "lap",
tau = 0.25,
nstart = 20,
niter = 10,
ignore_first_col = F
)
Adjacency matrix (n x n)
Number of communities
("lap" | "adj" | "adj2") Whether to use Laplacian or adjacency-based spectral clustering
Regularization parameter for the Laplacian
argument from function 'kmeans'
argument from function 'kmeans'
whether to ignore the first eigen vector when doing spectral clustering
A label vector of size n x 1 with elements in 1,2,...,K