find_elbow {LOMAR} | R Documentation |
find_elbow
Description
Find elbow in a 2D curve represented by a list of ordered values
Usage
find_elbow(values)
Arguments
values |
vector of values in decreasing order |
Details
This function finds the point with maximum distance from the line between the first and last points. Adapted from StackOverflow: http://stackoverflow.com/questions/2018178/finding-the-best-trade-off-point-on-a-curve
Value
index and value of the selected point
[Package LOMAR version 0.4.0 Index]