Function which select the number of cluster to compute thanks to a selected method
compute.kclust2(
eigenValues,
method = "default",
Kmax = 20,
tolerence = 1,
threshold = 0.9,
verbose = FALSE
)The eigenvalues of the laplacian matrix.
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.
The maximum number of cluster which is allowed.
The tolerance allowed for the Principal EigenValue method.
The threshold to select the dominant eigenvalue for the GAP method.
To output the verbose in the terminal.
a vector which contain the number of cluster to compute.