Learn R Programming

coca (version 1.1.0)

plotWidestGap: Plot widest gap

Description

Plot widest gap for different values of K.

Usage

plotWidestGap(widestGap, chosenK = NULL, fileName)

Arguments

widestGap

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.