predict.kmeans {CONFESS} | R Documentation

## predict.kmeans

### Description

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

### Usage

    ## S3 method for class 'kmeans'
    predict(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.

[Package CONFESS version 1.10.1 Index]