isCentral.localMax: Simple peak detection

View source: R/math.R

isCentral.localMaxR Documentation

Simple peak detection

Description

Internal soundgen function.

Usage

isCentral.localMax(x, threshold)

Arguments

x

input vector

threshold

threshold for peak detection

Examples

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

tatters/soundgen documentation built on Aug. 22, 2023, 4:24 p.m.