Description Usage Arguments Value
View source: R/stresshelpers.R
Predict clusters on new data given existing kmeans model
1 | predict_kmeans(object, newdata, method = c("centers", "classes"))
|
object |
The kmeans model |
newdata |
The new data frame |
method |
Centers or Classes |
A vector of predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.