Description Usage Arguments Value
find_peaks
identifies the relative location of maximum values in periodic and quasi-peridodic univariate
time-series. This original function was taken from https://github.com/stas-g/findPeaks/master/find_peaks.R.
1 | find_peaks(x, bw)
|
x |
a vector of equal interval values measuring a periodic or quasi-periodic process. If not a vector of values, must be an object that can be safely cast to a single vector of temporally sequenced numeric values. |
bw |
the bandwidth used to define the moving window within which a "peak" is identified. |
Returns the sequentially ordered index values at which each "peak" is detected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.