labels-assign: Set the labels of an object

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the labels of an object

Set the labels of a dendrogram

Usage

1
2
3
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

dendrogram,labels

Examples

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

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