find_knee_point: Find knee point in a curve

View source: R/utilities.R

find_knee_pointR Documentation

Find knee point in a curve

Description

Simple knee point detection using the maximum curvature method

Usage

find_knee_point(y, sensitivity = 1)

Arguments

y

Numeric vector of y values

sensitivity

Sensitivity parameter (not used in this simple implementation)

Value

Index of the knee point

Examples

y <- c(1, 2, 3, 10, 11, 12)  # curve with a knee
knee_idx <- find_knee_point(y)

BioGSP documentation built on Feb. 2, 2026, 5:06 p.m.