Let\'s say I have the following vectors:
x <- c(1,2,3,3,4,5)
Then the min_rank() will be:
min_rank(x) = 1 2 3 3 5 6