leaf_colours: Return the leaf colours of a dendrogram

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/colour_clusters.R

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

dendroextras documentation built on May 2, 2019, 2:10 p.m.