Description Usage Arguments Examples
Find Peaks Function from "https://github.com/stas-g/findPeaks"
1 | find_peaks(x, m = 3)
|
m |
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.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.