Learn R Programming

shipunov (version 1.17.1)

PlotBest.hclust: Plots dotchart with best clustering method

Description

Plots dotchart with best clustering method

Usage

PlotBest.hclust(dist, clust=c("ward.D", "ward.D2", "single", "complete",
"average", "mcquitty", "median", "centroid"), plot=TRUE)

Value

Numeric vector with correlation values (equal to the number of clusterings involved)

Arguments

dist

Distance matrix

clust

Clustering method

plot

Plot?

Author

Alexey Shipunov

Details

Shows the "best" hierarchical clustering method. Uses cophenetic correlation.

Examples

Run this code

PlotBest.hclust(dist(iris[, -5]))

PlotBest.hclust(dist(t(moldino)))

Run the code above in your browser using DataLab