Description Usage Arguments Value
Performs spectral clustering on an adjacency matrix.
1 2 | specClust(adjMat, nBlocks, method = "regLaplacian", rowNorm = T,
nIter = 20, verbose = F)
|
adjMat |
A graph adjacency matrix. |
nBlocks |
The number of clusters in the graph. |
method |
The form of the ajacency matrix to be used (default is regLaplacian). |
rowNorm |
If true, eigenvector rows should be normalized before running kmeans (default is true). |
nIter |
Number of kmeans iterations (default is 10). |
verbose |
If true, return a list with cluster assignments, within cluster sum of squares, and eigendecomposition (default is false). |
A vector of node cluster assignments. Or, if verbose is set to true a list with cluster assignments and additional information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.