GapStatistic | R Documentation |
Gap Statistic
GapStatistic(Data, ClusterNoMax, ClusterFun, ...)
Data |
[1:n,1:d] data matrix |
ClusterNoMax |
max no of clusters to beinvestigated |
ClusterFun |
which clustering algorithm to investigate |
... |
further arguments passed on |
does not work on hepta, see example
tobedocumented
Wrapper only
Michael Thrun
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.
data(Hepta)
#GapStatistic(Hepta$Data,10,ClusterFun = kmeans)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.