find_peaks: find_peaks

find_peaksR Documentation

find_peaks

Description

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

Usage

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.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.