addKpredictions {CONFESS} | R Documentation

## addKpredictions

### Description

Adds the predicted k-mean clusters to the existing set (CV-estimated).

### Usage

    addKpredictions(whole, cv, new.clusters, indices)

### Arguments

`whole` | List. The output of Fluo_inspection() on the original data.
`cv` | List. The output of Fluo_inspection() on the cross-validated data.
`new.clusters` | Numeric. The predicted k-mean clusters.
`indices` | List. The index numbers of the old and the new data.

### Value

The new output of Fluo_inspection() with the original data where @GAPgroups has been replaced with the CV estimates and the new predictions and the @centroids with the CV-estimated centroids.

[Package CONFESS version 1.10.1 Index]