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?


diffrprojects documentation built on May 2, 2019, 1:43 p.m.