shipunov (version 1.13)

Hcl2mat: Clustering to matrix

Description

Converts clustering to matrix

Usage

Hcl2mat(hcl)

Arguments

hcl

hclust object

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

Bclust, MRH

Examples

Run this code
# NOT RUN {
head(Hcl2mat(hclust(dist(iris[, -5]))))

# }

Run the code above in your browser using DataCamp Workspace