Mode: Mode of a test of points

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/mode.R

Description

Calculates the mode (the value that occurs most often) of a set of data - note the capital M

Usage

1
Mode(x)

Arguments

x

set of numbers

Details

calculates the mode of a set of numbers'

Value

number

Note

Orginally from http://stackoverflow.com/questions/2547402/standard-library-function-in-r-for-finding-the-mode

Author(s)

Justin Moat. J.Moat@kew.org

Examples

1
2
a <- c(5,5,5,6,7,8,9)
Mode(a)

rCAT documentation built on July 8, 2020, 6:22 p.m.