Learn R Programming

coca (version 1.1.0)

plotDunn2s: Plot Dunn's alternative index

Description

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

Usage

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.