Code
extract_cluster_assignment(spec)
Condition
Error in `extract_cluster_assignment()`:
! This function requires a fitted model.
i Please use `fit()` on your cluster specification.
Code
hclust_fit %>% extract_cluster_assignment()
Condition
Error in `extract_cluster_assignment()`:
! Please specify either `num_clusters` or `cut_height`.
Code
hclust_fit %>% extract_cluster_assignment(k = 3)
Condition
Error in `extract_cluster_assignment()`:
! Using `k` argument is not supported.
i Please use `num_clusters` instead.
Code
hclust_fit %>% extract_cluster_assignment(h = 3)
Condition
Error in `extract_cluster_assignment()`:
! Using `h` argument is not supported.
i Please use `cut_height` instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.