knee_finder2 {cola} | R 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)

[Package cola version 1.8.1 Index]