ComputeHartigan: Compute Hartigan's Number

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/hartigan.r

Description

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

Usage

1
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

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

useful documentation built on Oct. 8, 2018, 5:04 p.m.