find_elbow | R Documentation |
Find elbow in a 2D curve represented by a list of ordered values
find_elbow(values)
values |
vector of values in decreasing order |
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
index and value of the selected point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.