Learn R Programming

datadictionary (version 1.0.1)

mode_stat: Get the mode of a vector

Description

Get the mode of a vector

Usage

mode_stat(x, freq = FALSE)

Arguments

x

A vector

freq

Boolean when TRUE returns the frequency of the mode