silh.clus: Find the Number of Clusters by the Standard Silhouette...

View source: R/silh.clus.R

silh.clusR 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")


SLBDD documentation built on April 27, 2022, 5:08 p.m.

Related to silh.clus in SLBDD...