powered by
hclust
Find all unique groups in hclust results
uniqueGroupHclust(hc)
A list containing:
Vector containing the index of variables.
Vector containing the index of the group of each variable.
output of hclust function
Quentin Grimonprez
hc <- hclust(dist(USArrests), "average") res <- uniqueGroupHclust(hc)
Run the code above in your browser using DataLab