gka_twcv {UAHDataScienceUC}R Documentation

Total Within Cluster Variation (TWCV) computation

Description

Total Within Cluster Variation (TWCV) computation

Usage

gka_twcv(data, k, population, centers)

Arguments

data

a set of observations, presented as a matrix-like object where every row is a new observation. The matrix is of size n by m.

k

the number of clusters.

population

a matrix of size p by n with the cluster assignments for each observation.

centers

a 3D array of size p by k by m with the cluster centers for each individual in the population.

Value

a vector of size p with the total within cluster variation of each individual in the population.

Author(s)

Eduardo Ruiz Sabajanes, eduardo.ruizs@edu.uah.es


[Package UAHDataScienceUC version 1.0.1 Index]