detect.peaks2: 'detect.peaks2': peak picking

Description Usage Arguments Value

View source: R/beat_tracking.R

Description

The function detect.peaks2 chooses the local minimum or maximum peaks from the input vector, and returns the positions of the peaks.

Usage

1
detect.peaks2(values, thres, pwidth, type = "min")

Arguments

values

a vector from which peaks are found

thres

detection threshold

pwidth

minimum width that should be kept between peaks

type

"min" or "max"

Value

a vector of positions of peaks


akinori-ito/beatTrackR documentation built on Feb. 13, 2021, 10:19 a.m.