Retrieve/assign cex to the labels of a dendrogram
labels_cex(dend, ...)
labels_cex(dend, ...) <- value
A vector with the dendrogram's labels sizes (NULL if none are supplied).
# define dendrogram object to play with:
dend <- as.dendrogram(hclust(dist(USArrests[1:3, ]), "ave"))
# Defaults:
labels_cex(dend)
#> NULL
plot(dend)
# let's add some color:
labels_cex(dend) <- 1:3
labels_cex(dend)
#> [1] 1 2 3
plot(dend)
labels_cex(dend) <- 1
labels_cex(dend)
#> [1] 1 1 1
plot(dend)