Hierarchical Clustering – Convert Agglomeration to clustering.
gforce.hclust.agg2clust(hc, K)
hc
an object. This encodes the order of agglomeration.
K
an integer. K is the number of clusters