Identifies the index of maximum perpendicular distance from the line connecting the first and last points of the eigenvalue sequence.
FindKneePoint(eigval, plot.fig = FALSE)Numeric vector of eigenvalues (typically in descending order).
Logical. If TRUE, plots the eigenvalue curve and marks
the knee point. Default FALSE.
An integer giving the index of the knee point.
if (FALSE) {
k <- FindKneePoint(evd$values, plot.fig = TRUE)
}