Classifications from Hierarchical Agglomeration
hclass.Rd
Determines the classifications corresponding to different numbers of groups given merge pairs from hierarchical agglomeration.
Arguments
- hcPairs
A numeric two-column matrix in which the ith row gives the minimum index for observations in each of the two clusters merged at the ith stage of agglomerative hierarchical clustering.
- G
An integer or vector of integers giving the number of clusters for which the corresponding classfications are wanted.