isCentral.localMax {soundgen}R 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)

[Package soundgen version 2.6.2 Index]