Learn R Programming

clustMD (version 1.2.2)

modal.value: Calculate the mode of a sample

Description

Calculate the mode of a sample

Usage

modal.value(x)

Value

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

Arguments

x

a vector containing the sample values.