wss: Compute Total Within-Cluster Sum of Square

Description Usage Arguments Value

View source: R/stresshelpers.R

Description

Compute Total Within-Cluster Sum of Square

Usage

1
wss(data, k)

Arguments

data

The data frame to apply kmeans to

k

The starting number of clusters

Value

The total within-cluster sum of sqaure


gideonvosjcu/stresshelpers documentation built on Feb. 13, 2022, 5:41 p.m.