R: Set the labels of an object

labels<- {dendroextras} | R Documentation

## 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

`dendrogram,labels`

### Examples

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

[Package dendroextras version 0.2.3 Index]