| HCA | R Documentation |
Run the HCA method for clustering.
HCA(
d,
k = NULL,
method = c("ward", "single"),
engine = c("hclust", "agnes"),
graph = FALSE,
...
)
d |
The dataset ( |
k |
The number of cluster. If |
method |
Character string defining the clustering method. |
engine |
Which implementation builds the hierarchy: |
graph |
A logical indicating whether or not a graphic should be plotted (the
aggregation heights used to choose |
... |
Other parameters. |
The cluster hierarchy (hca object).
hclust, agnes, treeplot,
predict.hca
require (datasets)
data (iris)
HCA (iris [, -5], k = 3, method = "ward")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.