I am using the look-up function to connect codes with users. However in some cases, we may have a code that is not listed in the look-up vector. I know that the look-up function, by default, goes to the next lowest value in the vector. Is there a way around this so that it will tell me if the code doesn't exist in the look-up vector? (something as simple as NA or blank will do) Or should I be using something different?
Thanks!
Thanks!