modus: function giving back the mode

Description Usage Arguments

View source: R/tools.R

Description

function giving back the mode

Usage

1
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?


petermeissner/diffrprojects documentation built on Dec. 29, 2020, 3:59 a.m.