I want to rank a column with ties, but not skip the next number if there are ties. currently when I do:
A B
group1 325
group1 325
group1 123
C <- df %>%
group_by(A) %>%
mutate(rank(-B, ties.method = "min")) %>%
ungroup()
I get
A B C
group1 325 1
group1 325 1
group1 123 3
Is there a way to make it not skip the number 2?