Description Usage Arguments Value
Strategy to define peaks within an expected region. The algorithm uses the ration between a fast average and a slow average to define areas avobe the normal baseline. Those areas are identified as peaks and then labelled sequentially.
1 | peak_inrange(x, n1 = 100L, n2 = 10L, peak_loc)
|
x |
numeric: time series to find the baseline. |
n1 |
integer: number of points for the slow average. |
n2 |
integer: number of points for teh fast average. |
peak_loc |
integer vector: expected location of the peaks. |
A data frame with the peaks and peak ID
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.