Reads a dendrogram object and its corresponding sits tibble and computes the best number of clusters that maximizes the adjusted Rand index.
.sits_cluster_dendro_bestcut(samples, dendro)
Input set of time series.
Dendrogram object returned from
.sits_cluster_dendrogram
.
Vector with best number of clusters (k) and its respective height.
Lawrence Hubert and Phipps Arabie. Comparing partitions. Journal of Classification, 2, p.193--218, 1985.
See randIndex for implementation details.