0

I am using factoextra and CLARA method for my clustering and the plot looks like this.

This is my plot:

enter image description here

How can I change the scale so the upper clusters don't look squeezed like that?

Also, how can I remove that one cluster for the plotting?

My code for the plot:

fviz_cluster(clara.res,
             palette = c("#fcff00",
                         "#ffb14e",
                         "#51ff38",
                         "#a30000",
                         "#ffc8ff",
                         "#9d02d7",
                         "#1000e5",
                         "#12890b",
                         "#00c1ff"), # color palette
             ellipse.type = "t", # Concentration ellipse
             geom = "point", pointsize = 1,
             ggtheme = theme_classic())

Any insight would be greatly appreciated.

zx8754
  • 52,746
  • 12
  • 114
  • 209

0 Answers0