HCA | R Documentation |
Run the HCA method for clustering.
HCA(d, method = c("ward", "single"), k = NULL, ...)
d |
The dataset ( |
method |
Character string defining the clustering method. |
k |
The number of cluster. |
... |
Other parameters. |
The cluster hierarchy (hca
object).
agnes
require (datasets)
data (iris)
HCA (iris [, -5], method = "ward", k = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.