calcWitinSS: Calculate the total within cluster sum of squared distance

Description Usage Arguments Value

View source: R/ssgkmeansr.R

Description

Calculate the total within cluster sum of squared distance

Usage

1
calcWitinSS(data_cluster, centroid)

Arguments

data_cluster

Data points in cluster

centroid

Centroid of the cluster

Value

number


UBC-MDS/ssgkmeansr documentation built on May 25, 2019, 1:36 p.m.