Skip to contents

Computes the mode of a numeric or character vector

Usage

statistical_mode(x)

Arguments

x

Numeric or character vector.

Value

Statistical mode of x.

Examples


statistical_mode(x = c(10, 9, 10, 8))
#> [1] 10