find_peaks: find_peaks

Description Usage Arguments Value

Description

Returns the maxima of points. To get minima, -1*x

Usage

1
find_peaks(x, m = 4)

Arguments

x,

A vector of numbers, if small or not very smooth, use a smoothing function. Like density(x).

m,

An integer that acts as a loose hand for resolution.

Value

vector of peaks positions.


bimberlabinternal/OOSAP documentation built on Jan. 19, 2021, 2:47 a.m.