Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stats_mode

Mode


Description

Function calculating the mode.

Usage

stats_mode(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?

Value

vector of mode or modes


dsmisc

Data Science Box of Pandora Miscellaneous

v0.3.3
GPL (>= 2)
Authors
Peter Meissner [aut, cre]
Initial release
2020-09-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.