knee_finder2: Find the knee/elbow of a list of sorted points

View source: R/hierarchical_0.R

knee_finder2R Documentation

Find the knee/elbow of a list of sorted points

Description

Find the knee/elbow of a list of sorted points

Usage

knee_finder2(x, plot = FALSE)

Arguments

x

A numeric vector.

plot

Whether to make the plot.

Value

A vector of two numeric values. One for the left knee and the second for the right knee.

Examples

x = rnorm(1000)
knee_finder2(x, plot = TRUE)

jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.