Nothing
Code
extract_centroids(spec)
Condition
Error in `extract_centroids()`:
! This function requires a fitted model.
i Please use `fit()` on your cluster specification.
Code
extract_centroids(hclust_fit)
Condition
Error in `extract_centroids()`:
! Please specify either `num_clusters` or `cut_height`.
Code
extract_centroids(hclust_fit, k = 3)
Condition
Error in `extract_centroids()`:
! Using `k` argument is not supported.
i Please use `num_clusters` instead.
Code
extract_centroids(hclust_fit, h = 3)
Condition
Error in `extract_centroids()`:
! Using `h` argument is not supported.
i Please use `cut_height` instead.
Code
extract_centroids(spec, labels = c("A", "B"))
Condition
Error in `make_cluster_labels()`:
! `labels` must have length 3, not 2.
Code
extract_centroids(spec, labels = c("A", "A", "B"))
Condition
Error in `make_cluster_labels()`:
! `labels` must not contain duplicate values. Duplicated: "A".
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.