anocva (version 0.1.1)

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

Description

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

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.