wc_assignment: General Component for Assignment of data points to Cluster Representatives.
Description
General Component for Assignment of data points to Cluster Representatives.
Usage
wc_assignment(data, centroids, assignment_type)
Arguments
data
A dataset for which data points needs to be assigned to Cluster Representatives.
assignment_type
String which signal which assignment type to be used. Check wc_assign_types
for possible values.
Value
A vector of assignments.