fit_hclust | R Documentation |
klassets_cluster
object using stats::hclust
Fit Hierarchical Clustering to klassets_cluster
object using stats::hclust
fit_hclust(df, k = 3, method = "complete")
df |
A |
k |
A numeric determine number of clusters. This value is passed to
|
method |
The agglomeration method to be used. |
set.seed(12) df <- sim_groups(n = 200, groups = 3) plot(df) dfhc <- fit_hclust(df, k = 4) plot(dfhc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.