Learn R Programming

doMIsaul (version 1.0.1)

CritCF.sel: Number of cluster selection according to CritCF index

Description

Wrapper to estimate the best number of clusters according to CritCF index

Usage

CritCF.sel(data, min.nc, max.nc, method, distance)

Arguments

data

dataframe for which the number of cluster should be estimated.

min.nc

integer strictly higher than 1: minimum number of clusters.

max.nc

integer (>min.nc): maximum number of clusters.

method

string, clustering algorithm to use. Available values are "kmeans", "hc" (for hclust()) or "mclust".

distance

string, distance between the observations (either "euclidean" or "manhattan").

Value

A list containing the selected number of clusters, the CritCF values and the best partition.