compute.kclust2: K clust compute selection V2

Description Usage Arguments Value Author(s)

View source: R/computeKclust2.R

Description

Function which select the number of cluster to compute thanks to a selected method

Usage

1
2
3
4
5
6
7
8
compute.kclust2(
  eigenValues,
  method = "default",
  Kmax = 20,
  tolerence = 1,
  threshold = 0.9,
  verbose = FALSE
)

Arguments

eigenValues

The eigenvalues of the laplacian matrix.

method

The method that will be used. "default" to let the function choose the most suitable method. "PEV" for the Principal EigenValue method. "GAP" for the GAP method.

Kmax

The maximum number of cluster which is allowed.

tolerence

The tolerance allowed for the Principal EigenValue method.

threshold

The threshold to select the dominant eigenvalue for the GAP method.

verbose

To output the verbose in the terminal.

Value

a vector which contain the number of cluster to compute.

Author(s)

Emilie Poisson Caillault and Erwan Vincent


sClust documentation built on Aug. 24, 2021, 1:06 a.m.