GapStatistic: Gap Statistic

View source: R/GapStatistic.R

GapStatisticR Documentation

Gap Statistic

Description

Gap Statistic

Usage

GapStatistic(Data, ClusterNoMax, ClusterFun, ...)

Arguments

Data

[1:n,1:d] data matrix

ClusterNoMax

max no of clusters to beinvestigated

ClusterFun

which clustering algorithm to investigate

...

further arguments passed on

Details

does not work on hepta, see example

Value

tobedocumented

Note

Wrapper only

Author(s)

Michael Thrun

References

Tibshirani, R., Walther, G. and Hastie, T: Estimating the number of data clusters via the Gap statistic, Journal of the Royal Statistical Society B, Vol. 63, pp. 411-423, 2003.

Examples

data(Hepta)
#GapStatistic(Hepta$Data,10,ClusterFun = kmeans)

FCPS documentation built on Oct. 19, 2023, 5:06 p.m.