Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

Zelig (version 5.1.6.1)

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)