powered by
sample_mode(x, na.rm = FALSE)
sample_mode(c(1, 2, 2)) sample_mode(c(1, 2)) sample_mode(c(NA,NA,1)) sample_mode(c(NA,NA,1), na.rm = TRUE)
Run the code above in your browser using DataLab