modal.value: Calculate the mode of a sample

View source: R/clustMD_UtilityFunctions.R

modal.valueR Documentation

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.


clustMD documentation built on Jan. 27, 2026, 5:10 p.m.