Hi, I'm not sure how best to describe this but basically I'm trying to classify results of football games as H - Home win, D - Draw and A - Away Win via the probabilities of them winning. So for an individual game, i, I have the code:
results[i] = max(H,D,A)
Where H,D and A are all probabilities between 0 and 1. How do I get the Max function to return, for example, H as opposed to its numeric value (if H is the largest number)?