| kmeans.getk | R Documentation | 
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.
pseudoF, kmeans
require (datasets)
data (iris)
kmeans.getk (iris [, -5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.