Assign new data to e-means centers
Usage
# S3 method for class 'emeans'
predict(object, newdata, distance = FALSE, n_threads = NULL, ...)Arguments
- object
An
emeansfit.- newdata
Numeric matrix or data frame with the same columns.
- distance
If
TRUE, return a data frame withclusteranddistance(squared Euclidean; cosine similarity when spherical).- n_threads
Threads; see
emeans().- ...
Unused.
