Calculate quantile ranks for a numeric vector, handling ties using average method.
Examples
# Calculate quantile ranks for a vector
ranks <- quantile_rank(c(1, 2, 3, 4, 5))
Calculate quantile ranks for a numeric vector, handling ties using average method.
# Calculate quantile ranks for a vector
ranks <- quantile_rank(c(1, 2, 3, 4, 5))