Last chance! 50% off unlimited learning
Sale ends in
Set the labels of an object
Set the labels of a dendrogram
labels(x,...) <- valuelabels(x,...) <- value
Object on which to set labels
Additional parameters passed to specific methods
New labels
object of class dendrogram
# NOT RUN {
hc <- hclust(dist(USArrests), "ave")
dend <- as.dendrogram(hc)
labels(dend)<-abbreviate(labels(dend),minlength=2)
# }
Run the code above in your browser using DataLab