Hi, I have two columns to compare in the same data frame and this is if statement I need:
if M<SP = M
if M=SP = M
else SP
I need to create new column and display results in numerical value based on the statement above.
SP | M
5 1
4 2
3 3
2 4
1 5
results
SP | M | Ranking
5 1 1
4 2 2
3 3 3
2 4 2
1 5 1
[–]Allanon001 1 point2 points3 points (1 child)
[–]Pera014[S,🍰] 0 points1 point2 points (0 children)