Learn R Programming

sits (version 0.13.0)

.sits_cluster_dendro_bestcut: Compute validity indexes to a range of cut height

Description

Reads a dendrogram object and its corresponding sits tibble and computes the best number of clusters that maximizes the adjusted Rand index.

Usage

.sits_cluster_dendro_bestcut(samples, dendro)

Arguments

samples

Input set of time series.

dendro

Dendrogram object returned from .sits_cluster_dendrogram.

Value

Vector with best number of clusters (k) and its respective height.

References

Lawrence Hubert and Phipps Arabie. Comparing partitions. Journal of Classification, 2, p.193--218, 1985.

See randIndex for implementation details.