[R] K-means result - variance between cluster

Ralph Modjesch ralph.modjesch at pfeiffer-koberstein-immobilien.de
Fri Jul 2 10:37:02 CEST 2010


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?


-- 
Mit freundlichen Grüßen

Ralph Modjesch



More information about the R-help mailing list