integer_mode {ggbrain} | R 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
[Package ggbrain version 0.9.0 Index]