R/maths_functions.R
find_argmax.Rd
This is a wrapper for Rbase which.max() which avoids warnings and errors when the supplied vector is empty or contains only NaNs
find_argmax(vec)
A numerical vector
The index of the minimum (a number or NA)