Log-Likelihood for k-means clustering (for calculating AIC and BIC)
Log-Likelihood for k-means clustering (for calculating AIC and BIC)
## S3 method for class 'kmeans' logLik(object, ...)
object |
a |
... |
unused |
Neal Fultz, inspired by Sherry Towers and Andy Clifton,
cl <- kmeans(iris[-5], 3) AIC(cl)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.