Mode: Calcualtes the mode of a numeric vector

Description Usage Arguments Details Value Author(s) References Examples

View source: R/Mode.R

Description

R's base package function mode returns the type of object 'numeric', 'character' etc. This give the option of an easy to remember work around for that.

Usage

1
Mode(x)

Arguments

x

a numerical vector.

Details

Returns the most frequently occuring value in a vector. In the case of a tie it will return the mode which has the earliest initial occurence in the vector

Value

returns the most frequently occuring value in a series of numbers

Author(s)

Heath Blackmon

References

http://coleoguy.github.io/

Examples

1
Mode(c(1,2,3,4,5,6,2,5))

evobiR documentation built on May 2, 2019, 5:40 a.m.