If the number of clusters has not been set, estimates it by using Slope criterion in the range 2, 20.
1 2 | checkNClust(dataDist, r = NULL, p = 1, maxClust = 20, clusteringFunction,
criterion = c("slope", "silhouette"))
|
dataDist |
A matrix with n subjects. Each subject has the size of NxN and represents the distances between the elements of the sample. |
r |
The number of clusters. NULL if it's unknown. |
p |
Slope adjust parameter. |
maxClust |
The maximum number of clusters to be tried if estimating optimal number of clusters. The default value is 20. |
clusteringFunction |
The clustering function that Slope should use. |
criterion |
The criterion that will be used for estimating the number of clusters. The options are "slope" or "silhouette". If not defined, "slope" will be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.