sort data into existing clusters created by hclust() in R

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


sort data into existing clusters created by hclust() in R



I'm new to R as well as to Stack overflow so please excuse any mistakes:



I have performed a hierarchial clustering of matrices with hclust(). Now I have 5 clusters of which i would like to somehow save information so that at a later point I can define to which cluster given additional matrices (same dimensions) would fit the best.



I did this with kmean clustering before and used the minimal distance of the new data to any of these centroids. Is the same procedure recommended in this case and does it depend on the method(Ward etc.) ? Do you have any suggestions for improvement?



thanks heaps









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name