soundgen (version 2.6.2)

Mode: Modified mode

Description

Internal soundgen function

Usage

Mode(x)

Arguments

x

numeric vector

Details

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

Examples

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

Run the code above in your browser using DataLab