Improve documentation of NA and which() function