clustMD (version 1.2.1)

modal.value: Calculate the mode of a sample

Description

Calculate the mode of a sample

Usage

modal.value(x)

Arguments

x
a vector containing the sample values.

Value

The mode of the sample. In the case of a tie, the minimum is returned.