mode_val: Modal value

Description Usage Arguments Value Examples

View source: R/mode_val.R

Description

Calculates the mode (modal value) of a vector of numbers

Usage

1

Arguments

x

A vector of numbers

Value

The modal value of a numeric vector

Examples

1
2
x = rnorm(50, 80, 15)
mode_val(x)

maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.