# checkNClust

From anocva v0.1.1
by Maciel Vidal

##### If the number of clusters has not been set, estimates it by using Slope criterion in the range 2, 20.

If the number of clusters has not been set, estimates it by using Slope criterion in the range 2, 20.

- Keywords
- internal

##### Usage

```
checkNClust(dataDist, r = NULL, p = 1, maxClust = 20, clusteringFunction,
criterion = c("slope", "silhouette"))
```

##### Arguments

- dataDist
A matrix with n subjects. Each subject has the size of NxN and represents the distances between the elements of the sample.

- r
The number of clusters. NULL if it's unknown.

- p
Slope adjust parameter.

- maxClust
The maximum number of clusters to be tried if estimating optimal number of clusters. The default value is 20.

- clusteringFunction
The clustering function that Slope should use.

- criterion
The criterion that will be used for estimating the number of clusters. The options are "slope" or "silhouette". If not defined, "slope" will be used.

*Documentation reproduced from package anocva, version 0.1.1, License: GPL (>= 3)*

### Community examples

Looks like there are no examples yet.