predict.KMeans | R Documentation |
predict.KMeans
Predicts cluster membership for the entire sample passed into the original analysis (including missing and filtered values).
## S3 method for class 'KMeans'
predict(object, newdata = object$model, use.names = FALSE, ...)
object |
A |
newdata |
Optionally, a data frame in which to look for variables with which to predict. If omitted, the data used to fit the model is used. |
use.names |
Use names in |
... |
Additional arguments to pass to predict.lda.
The default is to predict |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.