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)

dendextend documentation built on Oct. 13, 2024, 1:06 a.m.