Mode: Mode of data vector

View source: R/utils_misc.R

ModeR Documentation

Mode of data vector

Description

Get mode of a data vector. But use the median instead of the mode if all data values are unique.

Usage

Mode(x)

Arguments

x

The data vector

Value

The mode


fMRItools documentation built on April 12, 2025, 1:32 a.m.