Learn R Programming

DiscreteGapStatistic (version 1.1.2)

findK: Criteria to determine number of clusters k

Description

Same function as found in `cluster` package.

Usage

findK(cG_obj, meth = "Tibs2001SEmax")

Value

A numerical value from 1 to K.max, contained in the input `cG_obj` object.

Arguments

cG_obj

Output object obtained from `clusGapDiscr`

meth

Method to use to determine optimal k number of clusters.