Description Usage Arguments Value Author(s) Examples
Find all the local maxima and their corresponding positions in a given curve.
1 | getPeaks(x, y, sep = 8, thr = 0.01)
|
x |
x coordinates for the curve. |
y |
y coordinates for the curve. |
sep |
number of initial split of the curve. |
thr |
sensitivity threshold to call a local maxima. |
numeric matrix with two columns: position of peaks and peak values.
Bo Li
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.