Top, median, or bottom
Indicates whether each value in a vector belongs to top, median, or bottom
top_median_or_bottom(vector)
vector
: a numeric vectora character vector indicating whether each element in a vector belongs to "top", "median", or "bottom"
top_median_or_bottom(c(1, 2, 3, NA)) top_median_or_bottom(c(1, 2, 2, NA)) top_median_or_bottom(c(1, 1, 2, NA))
Useful links