The function anyNA is generic: anyNA(x) is a
faster alternative to any(is.na(x)).
This function anyNA.im is a method for the generic anyNA
defined for pixel images. It returns the value TRUE if any of the pixel
values in x are NA, and
and otherwise returns FALSE.