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. 12, 2024, 6:29 a.m.