Gap Statistic Implementation of Gap Statistic in H2O-3 Reference: https://statweb.stanford.edu/~gwalther/gap https://stat.ethz.ch/R-manual/R-devel/library/cluster/html/clusGap.html