Return the leaf colours of a dendrogram
Return the leaf colours of a dendrogram
leaf_colours(d, col_to_return = c("edge", "node", "label"))
d |
the dendrogram |
col_to_return |
Character scalar - kind of colour attribute to return |
The returned colours will be in dendrogram order.
named character vector of colours, NA_character_ where missing
jefferis
d5=colour_clusters(hclust(dist(USArrests), "ave"),5) leaf_colours(d5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.