GapStatistic: Compute gap statistic

Description Usage Arguments Examples

View source: R/GapStatistic.R

Description

This function computes gap statistics for K clusterings with the number of clusters = 1 to K.

Usage

1
GapStatistic(x, clusterings)

Arguments

x

a numeric matrix: Columns are samples and rows are dimensions.

clusterings

a list of vectors, each of which indicates the clustering label for each data point

Examples

1
GapStatistic(x, clusterings)

NHLBI-BCB/IKAP documentation built on March 21, 2020, 8:08 p.m.