hgroups | R Documentation |
Returns a vector with group memberships. This function is used by the function consensus of clusters.
hgroups(hmerge)
hmerge |
The object is components of the hclust |
The merge clusters is printed.
F. de Mendiburu
hclust
, hcut
, consensus
library(agricolae)
data(pamCIP)
# only code
rownames(pamCIP)<-substr(rownames(pamCIP),1,6)
distance <- dist(pamCIP,method="binary")
clusters<- hclust( distance, method="complete")
# groups of clusters
hgroups(clusters$merge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.