Function Ranking in R : <p>I have two columns x and y. I want to have one column which contains the ranking for both columns. I thought about sum both column and then get it ranked, does any one have a function that rank two columns in r?</p>

<p>Many thanks</p>
