powered by
Calculate the median of the top ten percentage of the values.
median_top_10(x, na.rm = FALSE)
A numerical value
A numerical vector
Default TRUE: Remove NAs, before calculations.
median_top_10(mtcars$cyl)
Run the code above in your browser using DataLab