stats_mode: Mode

Description Usage Arguments Value

View source: R/stats_mode.R

Description

Function calculating the mode.

Usage

1
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 documentation built on Sept. 13, 2020, 5:21 p.m.