Identification of labels in clusters

21 views
Skip to first unread message

RN Sarma

unread,
Dec 10, 2020, 12:22:29 AM12/10/20
to FactoMineR users
Hi,
I have 534 test entries. While trying to drw dendrogram, with the code as fiven below it is difficult ot identfiy entries in each cluser. Is there any way to dentifiy cluster as extracted in the form of table or so?
fviz_dend(quant.hcpc, 
          cex = 0.2,                     # Label size
          palette = "aaas",               
          rect = FALSE, rect_fill = FALSE, 
          rect_border = "aaas",           # Rectangle color
          labels_track_height = 0.8      # Augment the room for labels)
)



Kindly suggest.

Womble

unread,
Feb 8, 2021, 6:21:09 AMFeb 8
to FactoMineR users
Assuming that you created quant.hcpc with

quant.hcpc<-HCPC(myanalysis,nb.clust=x)

then you can just look at quant.hcpc$data.clust  which will give the original data with cluster membership appended to the end.

I have no idea if the fviz_dend will give you that info.

Kris.
Reply all
Reply to author
Forward
0 new messages