Return the leaf colours of a dendrogram

Share:

Description

Return the leaf colours of a dendrogram

Usage

1
leaf_colours(d, col_to_return = c("edge", "node", "label"))

Arguments

d

the dendrogram

col_to_return

Character scalar - kind of colour attribute to return

Details

The returned colours will be in dendrogram order.

Value

named character vector of colours, NA_character_ where missing

Author(s)

jefferis

See Also

slice,colour_clusters

Examples

1
2