powered by
Runs the computation found in http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf
ComputeHartigan(FitActualWSS, FitPlus1WSS, nrow)
the WSS from a kmeans fit
the number of rows in the original dataset
The computed Hartigan Number
Not exported, only used by FitKMeans
FitKMeans
http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf
kmeans FitKMeans
kmeans
# NOT RUN { data(iris) hartiganResults <- FitKMeans(iris[, -ncol(iris)]) PlotHartigan(hartiganResults) # }
Run the code above in your browser using DataLab