elbow | R Documentation |
This function implements the Elbow (or knee of a curve) method to detect the inflection point of a concave curve. More information on this method: https://en.wikipedia.org/wiki/Elbow_method_(clustering).
elbow(data)
data |
a two-columns data frame (x and y respectively). |
This function detects unique inflection point in a simple concave curve. The curve can be concave down/up with a positive/negative slope.
This function returns a 2-elements list with:
the value on x-Axis corresponding to the inflection point
a data frame with the original data and two additional columns used in the graphic.
Nicolas CASAJUS, nicolas.casajus@fondationbiodiversite.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.