spec_repr.Rd
Provides a spectral representation of the network (with regularization) based on the adjacency or Laplacian matrices
spec_repr(A, K, type = "lap", tau = 0.25, 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
whether to ignore the first eigen vector
The n x K matrix resulting from a spectral embedding of the network into R^K