Mode: Modified mode

View source: R/math.R

ModeR Documentation

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

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