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)


useful documentation built on Oct. 24, 2023, 9:07 a.m.