compute.kclust2 {sClust}R Documentation

K clust compute selection V2

Description

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

Usage

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


[Package sClust version 1.0 Index]