powered by
Determine whether a value is, or should be, `NA`
is_na_ish(x, extra_na = NULL)
vector to test
Additional values to consider equivalent to NA
# NOT RUN { is_na_ish(c(NA, "1")) is_na_ish(c("NA", "N/A", "NaN")) is_na_ish(c(NA)) is_na_ish(c(NA)) # }
Run the code above in your browser using DataLab