Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Mode

Compute the Statistical Mode of a Vector


Description

Compute the Statistical Mode of a Vector

Usage

Mode(x)

Arguments

x

a vector of numeric, factor, or ordered values

Value

the statistical mode of the vector. If more than one mode exists, the last one in the factor order is arbitrarily chosen (by design)

Author(s)

Christopher Gandrud and Matt Owen


Zelig

Everyone's Statistical Software

v5.1.7
GPL (>= 3)
Authors
Christine Choirat [aut], Christopher Gandrud [aut], James Honaker [aut], Kosuke Imai [aut], Gary King [aut], Olivia Lau [aut], Robert Treacy [aut, cre], IQSS Harvard University [cph]
Initial release
2020-12-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.