powered by
Via http://stackoverflow.com/questions/2547402/is-there-a-built-in-function-for-finding-the-mode
Mode(x)
vector
Vector of modal values in arbitrary order.
library(ck37r) data(Boston, package = "MASS") table(Boston$chas) Mode(Boston$chas)
Run the code above in your browser using DataLab