Open zhuxqdoctor opened 6 years ago
Hi,
The algorithm of hkmeans method is as follow:
This means that the final optimized partitioning obtained at step 4 might be different from the initial partitioning obtained at step 2.
The fviz_dend() functions shows the initial partitioning result (step 2). Consider mainly the plot created by the function fviz_cluster(). This has been now clarified in the documentation
Thanks for answering my question! Now I want to visualize all the samples in the cluster dendrogram obtained the the initial step 2. Do you have any suggestions about the way I can use to visualize the cluster in dendrogram instead of fviz_cluster?
Hi, I am using the example data "USArrests" for hierarchical k-means clustering and further visualize my own data. however, it seems that the "fviz_dend" does not work perfect and it can not show right number of the sample names in some of the tree cluster. For example, in "USArrests" example data, the res.hk$size showed a cluster got 8 samples, but only 7 samples were shown in using fviz_dend. Does anyone can figure this out. Thanks!