Plot Dunn's alternative index (minimum average dissimilarity between two cluster divided by maximum average within cluster dissimilarity) for different values of K.

plotDunn2s(dunns, chosenK = NULL, fileName)

Arguments

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.