soundgen (version 1.5.0)

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
# NOT RUN {
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 DataCamp Workspace