Description Usage Arguments Value Examples
View source: R/functions_clusteringKmeans.R
perform kmeans clustering on matrix rows and return reordered matrix along with order matched cluster assignments. clusters are sorted using hclust on centers
1 | clusteringKmeans(mat, nclust, seed = NULL)
|
mat |
numeric matrix to cluster |
nclust |
the number of clusters |
seed |
DEPRECATED. Call set.seed() prior to this funciton to allow reproducibility. |
data.table with group variable indicating cluster membership and id variable that is a factor indicating order based on within cluster similarity
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.