clusterMethodk.RdRun clustering method (Need to specify number of clusters)
clusterMethodk(Dist, clmethod, k = 5, ...)
| Dist | distance matrix to calculate |
|---|---|
| clmethod | Method to run for clustering, can be chosen from: hclust: Hierachical clustering, apcluster: Affinity propagation clustering with k clusters, kmeans: kmeans clustering, |
| k | Number of clusters |
| ... | Other parameters can be passed to clusterMethodk. |
A list contain clustering result.