On Fri, Jul 2, 2010 at 4:37 AM, Ralph Modjesch <ralph.modje...@pfeiffer-koberstein-immobilien.de> wrote: > Hi, > > I like to present the results from the clustering method k-means in > terms of variances: within and between Cluster. The k-means object > gives only the within cluster sum of squares by cluster, so the between > variance part is missing,for calculation the following table, which I > try to get. > > Number of | Variance within | Var between | Var total | F-value > Cluster k | cluster | cluster | | > =============================================================== > 2 .......| 25,00 ..........| 75,00 ......| 100 ......| 1,5 > 3 .......| 45,00 ..........| 55,00 ......| 100 ......| 1,7 > > Is there any package/ function which will do that? >
See ?KMeans in the Rcmdr package. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.