Check if coordinates contain NAs in some columns but not others
check_NA_coords(xyz)
xyz
a data.frame of xy or xyz coordinates