DetermineK | R Documentation |
This function estimates the best K (number of clusters) for your data set using Kmeans and a Silhouette Analysis
DetermineK( mydata, kmax = 20, desiredK = 4, num_iter = 100, plotrepress = FALSE )
mydata |
a data frame or matrix of data |
kmax |
the maximum number of k groups to estimate |
desiredK |
the the number of k clusters you want to have |
num_iter |
the number of iterations used in the kmeans analysis |
plotrepress |
default is to plot the data (FALSE), set to TRUE to repress the plot |
DetermineK()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.