powered by
Calculate quantile ranks for a numeric vector, handling ties using average method.
quantile_rank(x)
A numeric vector of quantile ranks between 0 and 1
numeric vector for which to calculate quantile ranks
# Calculate quantile ranks for a vector ranks <- quantile_rank(c(1, 2, 3, 4, 5))
Run the code above in your browser using DataLab