Get height attributes from a dendrogram's children nodes
get_childrens_heights(dend, ...)
a vector of the heights of a dendrogram's current node's (first level) children.
hc <- hclust(dist(USArrests[1:4, ]), "ave")
dend <- as.dendrogram(hc)
get_childrens_heights(dend)
#> [1] 0.00000 54.80041