I have a data frame containing two columns of a range of numerical values corresponding to elements which are the row names. I want to know a good way to return the rank of each row for each column.
Ive tried a lot of different ways but none of them work.