Returns a vector with an 1 in the maximum position. If there are more than one then 1/num. maximums is situated in each position

locate.max(x)

Arguments

x

Vector where find the maximum(s)