gap_clus: Gap Statistics

Description Usage Arguments Value

Description

calculates a goodness of clustering measure, the gap statistic.

Usage

1
2
gap_clus(mat, hc, K.max, B, d.power = 1, spaceH0 = c("scaledPCA",
  "original"))

Arguments

mat

a matrix

hc

a hierarchy resulting from DIANA

K.max

the maximum number of clusters to consider, must be at least two.

B

integer value, number of Monte Carlo (“bootstrap”) samples

Value

An object of S3 class "clusGap", basically a list with components:

Tab

a matrix with K.max rows and 4 columns, named "logW", "E.logW", "gap", and "SE.sim"

call

the function call

spaceH0

the spaceH0 argument

n

number of observation

B

input B


JacopoDior/funBI documentation built on May 6, 2019, 12:01 a.m.