kneedle: Find the knee/elbow point in a vector using the Kneedle...

View source: R/gen3DNet.R

kneedleR Documentation

Find the knee/elbow point in a vector using the Kneedle algorithm.

Description

This function uses the Kneedle algorithm (Satopaa 2011) to find the index of the knee point in the provided vector. If the values are mostly increasing, use sign = 1. If they are mostly decreasing, use sign = -1.

Usage

kneedle(values, sign)

Arguments

values

The values to find a knee/elbow in.

sign

-1 if the values are mostly decreasing, 1 if the values are mostly decreasing.

Value

The index of the knee/elbow.


MollahLab/gen3DNet documentation built on Nov. 18, 2024, 5:08 a.m.