Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

labels-assign

Set the labels of an object


Description

Set the labels of an object

Set the labels of a dendrogram

Usage

labels(x,...) <- value

labels(x,...) <- value

Arguments

x

Object on which to set labels

...

Additional parameters passed to specific methods

value

New labels

Value

object of class dendrogram

Author(s)

jefferis

See Also

Examples

hc <- hclust(dist(USArrests), "ave")
dend <- as.dendrogram(hc)
labels(dend)<-abbreviate(labels(dend),minlength=2)

dendroextras

Extra Functions to Cut, Label and Colour Dendrogram Clusters

v0.2.3
GPL (>= 2)
Authors
Gregory Jefferis [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.