Mode
computeMode.Rd
Compute the mode in a set of data values
Examples
# Build a set of 1000 integer values between 0 and 10
x <- as.integer(runif(1000) * 10)
# Compute the mode
computeMode(x)
#> [1] 1
computeMode.Rd
Compute the mode in a set of data values
# Build a set of 1000 integer values between 0 and 10
x <- as.integer(runif(1000) * 10)
# Compute the mode
computeMode(x)
#> [1] 1