Description Usage Arguments Value See Also Examples
Determines the classifications corresponding to different numbers of groups given merge pairs from hierarchical agglomeration.
1 | hclass(hcPairs, G)
|
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. |
A matrix with length(G)
columns, each column
corresponding to a classification. Columns are indexed by the character
representation of the integers in G
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.