Mode
Mode(x)
Either a vector or a frequency table from table
table
The modal value of x
# NOT RUN { x <- c(3, 1:5) Mode(x) Mode(table(x)) # }
Run the code above in your browser using DataLab