find_peaks: Find Peaks Function from...

Description Usage Arguments Examples

Description

Find Peaks Function from "https://github.com/stas-g/findPeaks"

Usage

1
find_peaks(x, m = 3)

Arguments

m

Examples

1
The function takes an ordered sequence (vector) of values x and a number m and returns a vector of indices of local peaks in x. A (local) peak is defined as a point such that m points either side of it has a lower or equal value to it. Thus, m can be used adjust the sensitivity of the peak detection procedure: larger m will result in fewer peaks, whilst smaller values of m will result in more peaks found.

brentscott93/biophysr documentation built on Sept. 14, 2021, 2:35 a.m.