Skip to content
Prev 58592 / 398502 Next

text size + text-dendrogram

Helmut Kudrnovsky a ??crit :
from : ?dendrogram

hc <- hclust(dist(USArrests), "ave")
(dend1 <- as.dendrogram(hc)) # "print()" method
str(dend1)          # "str()" method
str(dend1, max = 2) # only the first two sub-levels


The str functions will give a text representation of your tree.