Rdocumentation
powered by
Learn R Programming
diffrprojects (version 0.1.14)
modus: function giving back the mode
Description
function giving back the mode
Usage
modus(x, multimodal = FALSE, warn = TRUE)
Arguments
x
vector to get mode for
multimodal
wether or not all modes should be returned in case of more than one
warn
should the function warn about multimodal outcomes?