Learn R Programming

CONFESS (version 1.0.2)

predict.kmeans: predict.kmeans

Description

Takes a training sample and predicts the k-mean clusters of a new dataset (minimizing the Eucledian distance).

Usage

predict.kmeans(data, centroid)

Arguments

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.

Value

The predicted k-mean clusters.