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)

soundgen documentation built on Sept. 29, 2023, 5:09 p.m.