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