integer_mode: Finds the mode of an integer vector

View source: R/RcppExports.R

integer_modeR Documentation

Finds the mode of an integer vector

Description

Finds the mode of an integer vector

Arguments

v

a vector of integers

demote_zeros

if TRUE, zero will not be allowed to be the mode

Value

An integer representing the mode of the vector. If multiple modes are found, then the lowest-valued mode is returned


ggbrain documentation built on April 4, 2025, 5:03 a.m.