localMinima: Finds local minima of a vector

Description Usage Arguments Value Examples

View source: R/max_and_min.R

Description

Takes in a vector and finds the local minimas. (Credit user Tommy https://stackoverflow.com/questions/6836409/finding-local-maxima-and-minima).

Usage

1

Arguments

x

Any vector

Value

A list of local minimas in the vector

Examples

1
minimas <- localMinima(x)

niconaut/crop.row.finder documentation built on June 29, 2020, 6:10 a.m.