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/rtext documentation built on May 24, 2017, 4:32 a.m.