How do i use the ranking function Row_number with multiple conditions in R

It's always a good idea to make it explicit, that you are cross-posting your question to multiple places so that people don't end up wasting their time on question that has been already answered. There is more about this forum policy on cross-posting:

1 Like