Description Usage Arguments Value
View source: R/beat_tracking.R
The function detect.peaks2
chooses the local minimum or maximum peaks from the input vector,
and returns the positions of the peaks.
1 | detect.peaks2(values, thres, pwidth, type = "min")
|
values |
a vector from which peaks are found |
thres |
detection threshold |
pwidth |
minimum width that should be kept between peaks |
type |
"min" or "max" |
a vector of positions of peaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.