Mode_numeric: Compute the Mode of numeric data

View source: R/Mode_Functions.R

Mode_numericR Documentation

Compute the Mode of numeric data

Description

This function returns the mode of a numeric vector(x).

Usage

Mode_numeric(x)

Arguments

x

A vector of values for which the Mode(x) is computed. x must be a vector of numeric values, missing values are dropped from computations; for character data use Mode.alpha().

Value

a numeric value, the mode of x

Examples

x <- c(5,4,7,3,5,8,4,1,3,5,7,2,6,4,6,4,5,5,5,7,4,5,8,6,5)
Mode_numeric(x)


JenC36/JACtools documentation built on Oct. 20, 2024, 8:05 a.m.