Learn R Programming

fdm2id (version 0.9.5)

HCA: Hierarchical Cluster Analysis method

Description

Run the HCA method for clustering.

Usage

HCA(d, method = c("ward", "single"), k = NULL, ...)

Arguments

d

The dataset (matrix or data.frame).

method

Character string defining the clustering method.

k

The number of cluster.

...

Other parameters.

Value

The cluster hierarchy (hca object).

See Also

agnes

Examples

Run this code
# NOT RUN {
require (datasets)
data (iris)
HCA (iris [, -5], method = "ward", k = 3)
# }

Run the code above in your browser using DataLab