ComputeHartigan | R Documentation |
Runs the computation found in http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf
ComputeHartigan(FitActualWSS, FitPlus1WSS, nrow)
FitActualWSS |
the WSS from a kmeans fit |
FitPlus1WSS |
the WSS from a kmeans fit |
nrow |
the number of rows in the original dataset |
Not exported, only used by FitKMeans
The computed Hartigan Number
Jared P. Lander www.jaredlander.com
http://www.stat.columbia.edu/~madigan/DM08/descriptive.ppt.pdf
kmeans
FitKMeans
data(iris)
hartiganResults <- FitKMeans(iris[, -ncol(iris)])
PlotHartigan(hartiganResults)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.