[R] K-means result - variance between cluster
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Jul 2 14:30:32 CEST 2010
On Fri, Jul 2, 2010 at 4:37 AM, Ralph Modjesch
<ralph.modjesch at 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.
More information about the R-help
mailing list