Mode: Modified mode

Description Usage Arguments Details Examples

View source: R/utilities_math.R

Description

Internal soundgen function

Usage

1
Mode(x)

Arguments

x

numeric vector

Details

Internal helper function for spectral (~BaNa) pitch tracker. NOT quite the same as simply mode(x).

Examples

1
2
soundgen:::Mode(c(1, 2, 3))  # if every element is unique, return the smallest
soundgen:::Mode(c(1, 2, 2, 3))

soundgen documentation built on March 15, 2021, 9:07 a.m.