Learn R Programming

ggbrain (version 0.9.0)

integer_mode: Finds the mode of an integer vector

Description

Finds the mode of an integer vector

Value

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

Arguments

v

a vector of integers

demote_zeros

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