ComputeHartigan: Compute Hartigan's Number

View source: R/hartigan.r

ComputeHartiganR Documentation

Compute Hartigan's Number

Description

Runs the computation found in http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf

Usage

ComputeHartigan(FitActualWSS, FitPlus1WSS, nrow)

Arguments

FitActualWSS

the WSS from a kmeans fit

FitPlus1WSS

the WSS from a kmeans fit

nrow

the number of rows in the original dataset

Details

Not exported, only used by FitKMeans

Value

The computed Hartigan Number

Author(s)

Jared P. Lander www.jaredlander.com

References

http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf

See Also

kmeans FitKMeans

Examples

data(iris)
hartiganResults <- FitKMeans(iris[, -ncol(iris)])
PlotHartigan(hartiganResults)


jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.