isCentral.localMax: Simple peak detection

Description Usage Arguments Details Examples

View source: R/utilities_math.R

Description

Internal soundgen function.

Usage

1
isCentral.localMax(x, threshold)

Arguments

x

input vector

threshold

threshold for peak detection

Details

Peak detection with rollapply. Less versatile but x 10 faster than fpeaks.

Examples

1
soundgen:::isCentral.localMax(c(1,1,3,2,1), 2.5)

tatters/soundgen_beta documentation built on May 14, 2019, 9 a.m.