predict.ewkm: Predict method for ewkm
model.
Description
Return the nearest cluster to each observation based on a
Euclidean distance with each variable weighted differently per cluster.
Usage
# S3 method for ewkm
predict(object, data, …)
Arguments
data
the data that needs to be predicted. Variables should
have the same names and order as used in building the
ewkm
model.
Value
a vector of cluster numbers of length nrow(data)
.