stats_mode {dsmisc}R Documentation

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


[Package dsmisc version 0.3.3 Index]