Hi Friends
I am doing a dendrogram but there is a lot of space between the labels and the dendrogram, with what function can I reduce that space. Please.
distancia <- dist.binary(data, method = 1)
cluster <- hclust(distancia, method = "ward.D2")
fviz_dend(cluster, horiz = T, k = 4, color_labels_by_k = F, rect = T, lower_rect = 0, palette = "lancet", rect_border = "lancet", rect_fill = T, lwd = 1)

Consider rotating the output as shown here
It doesn't work, the weird thing is that if I change the grouping method to "average" the dendrogram comes out fine and without spaces.
system
Closed
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.