Description Usage Arguments Value Examples
A elbow detection function detects the elbow/knee of a given vector of values. Values will be sorted descendingly before detection, and the ID of those values above the elbow will be returned.
1 | elbow_detection(scores, if_plot = FALSE)
|
scores |
A vector of numeric scores. |
if_plot |
Boolean determine if plot the results. |
a vector of selected elements IDs
1 2 | scores <- c(10, 9 ,8, 6, 3, 2, 1, 0.1)
elbow_detection(scores, if_plot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.