Learn R Programming

whiboclustering (version 0.1.2)

wc_recalc_online_geometric_mean: Solution for Cluster Representative update which uses Online Geometric mean.

Description

Solution for Cluster Representative update which uses Online Geometric mean.

Usage

wc_recalc_online_geometric_mean(data, assignment, assignment_type,
  old_centroids = NULL)

Arguments

data

A dataset for which Cluster Representatives needs to be updated.

assignment

Vector of Cluster assignments.

assignment_type

Assignment type to be used.

old_centroids

Old centroids.

Value

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