get_childrens_heights: Get height attributes from a dendrogram's children

View source: R/attr_access.R

get_childrens_heightsR Documentation

Get height attributes from a dendrogram's children

Description

Get height attributes from a dendrogram's children nodes

Usage

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.

See Also

get_branches_heights

Examples


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

talgalili/dendextend documentation built on Jan. 27, 2024, 7:43 p.m.