search for: fviz_cluster

Displaying 1 result from an estimated 1 matches for "fviz_cluster".

2024 Sep 17
1
Getting individual co-ordinate points in k medoids cluster
...s. Beneath is an example of a k medoid prog using the built in US arrests dataset - this is not the data I am working with but it illustrates the issue easily library(factoextra) library(cluster) set.seed(170924) df <- USArrests df <- na.omit(df) df <- scale(df) kmed <- pam(df, k = 4) fviz_cluster(kmed, data = df) Thanks for any help or pointers Nick Wray [[alternative HTML version deleted]]