Learn R Programming

Zelig (version 5.0-13)

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 two modes exist, one is randomly selected (by design)