Description Usage Arguments Details Value Author(s) References See Also Examples

A cluster validity measure based on within- and between-sum-of-squares is computed and plotted for the methods k-means, fuzzy c-means, and model-based clustering.

1 | ```
clvalidity(x, clnumb = c(2:10))
``` |

`x` |
input data matrix |

`clnumb` |
range for the desired number of clusters |

The validity measure for a number `k`

of clusters is
*∑_j W_j* divided by *∑_{j<l} B_{jl}* with
*W_j* is the sum of squared distances of the objects in each cluster
cluster to its center, and *B_{jl}* is the squared distance between
the cluster centers of cluster `j`

and `l`

.

`validity` |
vector with validity measure for the desired numbers of clusters |

Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.

1 2 3 |

```
Loading required package: rpart
Loading required package: robustbase
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.