Description Usage Arguments Value Examples
Detect the peak positions and valley positions leveraging github::dgromer/peakdet
1 |
y |
A numeric vector for searching peaks |
delta |
A numeric vector of length 1, defining the minimum absolute changes required for local maximum or minimum detection when slope sign changes. If it is set to 0, the delta will be set to 1/10 of the range of y. |
silence |
logical(1). If false, echo the delta value when delta is set as 0. |
A list with peakpos and valleypos. Both peakpos and valleypos are numeric vectors storing the positions of peaks or valleys.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.