predict.kmeans {CONFESS} | R Documentation |
Takes a training sample and predicts the k-mean clusters of a new dataset (minimizing the Eucledian distance).
## S3 method for class 'kmeans' predict(data, centroid)
data |
Data matrix. A 2-dimensional matrix of corrected fluorescence signals that are clustered by k-means. |
centroid |
Data matrix. A 2-dimensional matrix of the k-means centroids. |
The predicted k-mean clusters.