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