Solution for Cluster Representative update which uses Online Midhindge.
wc_recalc_online_midhinge(data, assignment, assignment_type,
old_centroids = NULL)
A dataset for which Cluster Representatives needs to be updated.
Vector of Cluster assignments.
Assignment type to be used.
Old centroids.
As a result new Cluster Representatives are obtained. Result is in for of data.frame or data.matrix.