wc_eval_within_sum_of_squares: Calculate within (Cluster) sum of squares
Description
Calculate within (Cluster) sum of squares
Usage
wc_eval_within_sum_of_squares(data, centroids, assignment)
Arguments
data
A dataset for which within sum of squared should be calculated.
centroids
A data frame of cluster representatives.
Value
A vector of number which shows within (cluster) sum of squares.