Estimation of the number of clusters for K-means
Estimate the optimal number of cluster of the K-means clustering method.
kmeans.getk( d, max = 9, criterion = "pseudo-F", graph = TRUE, nstart = 10, seed = NULL )
d |
The dataset ( |
max |
The maximum number of clusters. Values from 2 to |
criterion |
The criterion to be optimized. |
graph |
A logical indicating whether or not a graphic should be plotted. |
nstart |
The number of random sets chosen for |
seed |
A specified seed for random number generation. |
The optimal number of cluster of the K-means clustering method according to the chosen criterion.
require (datasets) data (iris) kmeans.getk (iris [, -5])
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.