relabel_clusters: Relabel clusters with custom labels ("a","b", "aa", "ab",...

Description Usage Arguments Value Examples

Description

New labels for the clusters are produced, so as to reflect the successive parting of branches ("a" is divided into "aa", and "ab", "aa" is divided into "aaa" and "aab", etc.)

Usage

1

Arguments

mytree

a classification tree

Value

a vector with the new labels

Examples

1
2
 hc <- hclust(dist(USArrests), "ave")
relabel_clusters(hc)

lvaudor/classMapR documentation built on May 7, 2019, 10:54 p.m.