Code
k_means(num_clusters = 5) %>% fit_xy(mtcars, y = mtcars$mpg)
Condition
Error in `x_x()`:
! Outcomes are not used in <cluster_spec> objects.
Code
workflows::workflow(mpg ~ ., km) %>% fit(mtcars)
Condition
Error in `x_x()`:
! Outcomes are not used in <cluster_spec> objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.