getmode {DataSum}R Documentation

Get Mode of a Numeric Vector

Description

This function calculates the mode of a numeric vector.

Usage

getmode(data)

Arguments

data

A numeric vector.

Value

The mode of the numeric vector.

Examples

getmode(c(1, 2, 2, 3, 4))

[Package DataSum version 0.1.0 Index]