kneedle | R Documentation |
kneedle This function allows you to find the knee of a graph
kneedle(x, y, decreasing, concave, sensitivity = 1)
x |
A vector of x coordinates. |
y |
A vector of y coordinates. |
decreasing |
Is the function increasing? Algorithm will take a guess at direction of data if not specified. |
concave |
Is this concave or convex? Algorithm will take a guess at concavity if not specified. |
sensitivity |
How sensitive should knee detection be? Defaults to 1. Can be a float/double. |
This function returns a x,y coordinate pair that corresponds to the knee point
x <- kneedle(c(1,2,3,4,5), c(0,1,2,40,60))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.