powered by
get.mode(x, na.rm = FALSE)
vec <-c(1,1,2,2,3,3,4,4,5, NA) get.mode(vec, na.rm = TRUE)
Run the code above in your browser using DataLab