powered by
Run the HCA method for clustering.
HCA(d, method = c("ward", "single"), k = NULL, ...)
The cluster hierarchy (hca object).
hca
The dataset (matrix or data.frame).
matrix
data.frame
Character string defining the clustering method.
The number of cluster.
Other parameters.
agnes
require (datasets) data (iris) HCA (iris [, -5], method = "ward", k = 3)
Run the code above in your browser using DataLab