max_ward_kl | R Documentation |
This function uses the NbClust package (Charrad 2014) to estimate the number of clusters present.
max_ward_kl(data, k_range)
data |
The data with an unknown number of clusters. |
k_range |
The range of possible k values |
First, the data is repeatedly clustered with 1 cluster, then 2, and so on, using the Ward hierarchical clustering algorithm (Ward 1963). Afterwards, each set of clusters is scored using the Krzanowski-Lai index (Krzanowski 1988). The number of clusters with the highest index is then chosen.
The chosen value of k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.