Description Usage Arguments Value Examples
Title Clustering
1 | clustering(x, k.gap = 2, method = "Euclidean", plot.clustering = TRUE)
|
x |
data matrix |
k.gap |
positive integer specifying the number of clusters, less than the number of observation. Default value is 10. |
method |
Indicating which method to use for clustering. Default is 'Euclidean'. |
plot.clustering |
if TRUE (default) a 2-dimensional “clusplot” plot will be printed |
vector withnew assigned clusters
1 | clustering(subx, k.gap = 5, method='Euclidean', plot.clustering=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.