R function: which.max
which.max
returns the position of the element with the maximal value in a vector.
Practise makes perfect
which.max
returns the position of the element with the maximal value in a vector.