R/Mode.R

Defines functions Mode

Mode <-
function(x) {
  ux <- unique(x)
  ux[which.max(tabulate(match(x, ux)))]
}

Try the funLBM package in your browser

Any scripts or data that you put into this service are public.

funLBM documentation built on April 11, 2022, 5:06 p.m.