plotSilhouette {coca} | R Documentation |
Plot silhouette
Description
Plot average silhouette for different values of K.
Usage
plotSilhouette(sil, chosenK = NULL, fileName)
Arguments
sil |
vector of the average silhouette 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. |
Author(s)
Alessandra Cabassi alessandra.cabassi@mrc-bsu.cam.ac.uk
[Package coca version 1.1.0 Index]