Learn R Programming

doMIsaul (version 1.0.1)

CritCF: CritCF index

Description

Computes CritCF index for the selected number of clusters and clustering algorithm.

Usage

CritCF(data, k, method, distance, Seed = 1)

Arguments

data

dataframe for which the number of cluster should be estimated.

k

integer, 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").

Seed

If not null, passed to set.seed() before generating the partition.

Value

a list, containing the criterion value and the partition