wc_recalculate: General Component for Cluster Representative update.

Description Usage Arguments Value Author(s)

Description

General Component for Cluster Representative update.

Usage

1
2
wc_recalculate(data, assignment, recalculate_type, assignment_type = NULL,
  old_centroids = NULL)

Arguments

data

A dataset for which Cluster Representatives needs to be updated.

assignment

Vector of Cluster assignments.

recalculate_type

String which signal which update type to be used. Check wc_recalculate_types for possible values.

assignment_type

Assignment type (Optional).

old_centroids

Old centroids (Optional).

Value

As a result new Cluster Representatives are obtained. Result is in for of data.frame or data.matrix.

Author(s)

Sandro Radovanovic sandro.radovanovic@gmail.com


whiboclustering documentation built on May 2, 2019, 6:46 a.m.