Mode: Modified mode

View source: R/utilities_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 Aug. 14, 2022, 5:05 p.m.