Learn R Programming

Zelig (version 5.1.7)

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)