Plot Dunn's index (minimum separation / maximum diameter) for different values of K.
plotDunns(dunns, chosenK = NULL, fileName)
dunns | Vector of widest gap values for K from 2 to some value maxK. |
---|---|
chosenK | Chosen number of clusters. If specified, a vertical line is plotted in correspondence of the indicated value. Default is NULL. |
fileName | Name of the png file. |