Learn R Programming

whiboclustering (version 0.1.2)

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.

centroids

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.