silh.clus {SLBDD} | R Documentation |
Find the Number of Clusters by the Standard Silhouette Statistics
Description
Find the number of clusters by the standard Silhouette statistics. The cluster is hierarchical.
Usage
silh.clus(nClus, distanceMatrix, method)
Arguments
nClus |
Maximum number of groups. |
distanceMatrix |
Matrix of distances. |
method |
Hierarchical method "single", "average","complete". |
Value
A list containing:
nClus - Number of groups
list - Silhouette statistics for each value of nclus.
Examples
data(TaiwanAirBox032017)
output_gcc <- GCCmatrix(TaiwanAirBox032017[1:100,1:10])
output <- silh.clus(nClus=3,distanceMatrix=output_gcc$DM ,method="complete")
[Package SLBDD version 0.0.4 Index]