Hcl2mat {shipunov} | R Documentation |
Clustering to matrix
Description
Converts clustering to matrix
Usage
Hcl2mat(hcl)
Arguments
hcl |
|
Details
This function converts 'hclust' object into binary matrix in accordance with clusterings.
It has many uses: clustering bootstrap, clustering compare, and matrix representation of hierarchical clustering.
See Also
Examples
head(Hcl2mat(hclust(dist(iris[, -5]))))
[Package shipunov version 1.17.1 Index]