cluster_stats: Cluster Statistics Calculation

Description Usage Arguments Value References See Also

View source: R/perm.test.R

Description

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

Usage

1
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

See Also

cluster::silhouette()


monoClust documentation built on Feb. 15, 2021, 5:07 p.m.