Description Usage Arguments Value
Perform Spectral Clustering on a data matrix
1 2 | speCluster(data, conMatrix, cluster.number, iter.max = 400,
repetition = 400)
|
data |
A numeric data frame or matrix where columns represent variables and rows represent locations |
conMatrix |
Contiguity matrix. |
cluster.number |
The number of clusters. |
iter.max |
The maximum number of iterations allowed for kmeans step. |
repetition |
How many random sets should be chosen for as the initial centers in kmeans step. |
A list contains two parts: clusters: A vector of integers(from 1:cluster.number) indicating the cluster to which each point is allocated. SS: A list with two values SSW for Sum Squered Within and SSB for SumSquered Between
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.