Clusters聚类

library(cluster)

autoplot(clara(df[-5],3))

autoplot(fanny(df[-5], 3), frame = TRUE,shape = FALSE, label.size = 3)

autoplot(pam(df[-5], 3), frame = TRUE, frame.type = 'norm',shape = FALSE, label.size = 3)

你可能感兴趣的:(Clusters聚类)