powered by
Finds the most frequent value from a vector of discrete values
cmode(x)
an integer vector
scalar integer value
# NOT RUN { cmode(rpois(1000, 20)) # }
Run the code above in your browser using DataLab