powered by
Set the labels of an object
Set the labels of a dendrogram
labels(x,...) <- valuelabels(x,...) <- value
labels(x,...) <- value
Object on which to set labels
Additional parameters passed to specific methods
New labels
object of class dendrogram
dendrogram,labels
# 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