mode: Mode

View source: R/functions.R

modeR Documentation

Mode

Description

Mode

Usage

mode(x, nbins=NA)

Arguments

x

vector of numerical or categorical values

nbins

Number of bins to use for continuous data

Examples

#generate some data
data <- rnorm(10)

#calculate mode
mode(data)


mzinkgraf/BiometricsWWU documentation built on Dec. 9, 2023, 1:07 a.m.