Description Usage Arguments Value
Returns the maxima of points. To get minima, -1*x
1 | find_peaks(x, m = 4)
|
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. |
vector of peaks positions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.