powered by
Compute the sample mode
ds_mode(x)
a numeric vector containing the values whose mode is to be computed
Mode of x
x
`stat_mode()` has been deprecated. Instead use `ds_mode()`.
Any NA values are stripped from x before computation takes place.
mean median
mean
median
# NOT RUN { ds_mode(mtcars$mpg) ds_mode(mtcars$cyl) # }
Run the code above in your browser using DataLab