wc_recalc_trimmed_mean: Solution for Cluster Representative update which uses Trimmed mean.
Description
Solution for Cluster Representative update which uses Trimmed mean.
Usage
wc_recalc_trimmed_mean(data, assignment, old_centroids = NULL)
Arguments
data
A dataset for which Cluster Representatives needs to be updated.
assignment
Vector of Cluster assignments.
Value
As a result new Cluster Representatives are obtained. Result is in for of data.frame or data.matrix.