R/median_top_10.R
median_top_10.Rd
Calculate the median of the top ten percentage of the values.
median_top_10(x, na.rm = FALSE)
A numerical vector
Default TRUE: Remove NAs, before calculations.
A numerical value
median_top_10(mtcars$cyl) #> [1] 8