R/nearest_position.R
nearest_position.Rd
Check for nearest value in a vector.
nearest_position(vector, x)
Input vector
Value to search
Nearest value in a vector