Learn R Programming

monoClust (version 1.2.1)

cluster_stats: Cluster Statistics Calculation

Description

Calinski-Harabasz's pseudo-F (Calinski and Harabasz, 1974) and Average silhoutte width (Rousseeuw, 1987) calculation.

Usage

cluster_stats(d, clustering)

Arguments

d

Distance object (as generated by dist()) or a distance matrix between cases.

clustering

Integer vector of length of the number of cases, which indicates a clustering. The clusters have to be numbered from 1 to the number of clusters.

Value

f_stat

Calinski-Harabasz's pseudo-F.

asw

Average silhouette width.

References

  • Cali<U+0144>ski, T. and Harabasz, J (1974). "A dendrite method for cluster analysis". en. In: Communications in Statistics 3.1, pp. 1<U+2013>27. 10.1080/03610927408827101.

  • Rousseeuw, P. J. (1987). "Silhouettes: A graphical aid to the interpretation and validation of cluster analysis". In: Journal of Computational and Applied Mathematics 20, pp. 53<U+2013>65. ISSN: 03770427. 10.1016/0377-0427(87)90125-7.

See Also

cluster::silhouette()