Mode: Compute the Statistical Mode of a Vector

ModeR Documentation

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


IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.