Computes the mode of a numeric or character vector

statistical_mode(x)

Arguments

x

Numeric or character vector.

Value

Statistical mode of x.

Examples

if(interactive()){

 statistical_mode(c(10, 9, 10, 8))

}