predict.kmeans: predict.kmeans

Description Usage Arguments Value

Description

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

Usage

1
2
## 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.


CONFESS documentation built on Nov. 8, 2020, 6:05 p.m.