mymode: The mode

View source: R/mymode.R

mymodeR Documentation

The mode

Description

The mode

Usage

mymode(x)

Arguments

x

vector of data

Value

the mode of the data (most frequent)

Origin

Taken from a web page originally and then adapted https://www.tutorialspoint.com/r/r_mean_median_mode.htm

Examples

## Not run: 
mymode(ddt$LENGTH)
## End(Not run)

MATHSTATSOU/Intro2R documentation built on Feb. 20, 2025, 6:18 a.m.