Get height attributes from a dendrogram's children nodes

get_childrens_heights(dend, ...)

Arguments

dend

a dendrogram.

...

not used.

Value

a vector of the heights of a dendrogram's current node's (first level) children.

Examples


hc <- hclust(dist(USArrests[1:4, ]), "ave")
dend <- as.dendrogram(hc)
get_childrens_heights(dend)
#> [1]  0.00000 54.80041