Description Usage Arguments Value
Performs an approximate spectral clustering on an adjacency matrix by using the Nystrom extension.
1 2 | partSpecClust(adjMat, nBlocks, subSampleSize, rowNorm = T, nIter = 10,
verbose = F)
|
adjMat |
A graph adjacency matrix. |
nBlocks |
The number of clusters in the graph. |
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.