addKpredictions {CONFESS} | R Documentation |
Adds the predicted k-mean clusters to the existing set (CV-estimated).
addKpredictions(whole, cv, new.clusters, indices)
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. |
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.