is_na_ish {jwutil}R Documentation

Determine whether a value is, or should be, 'NA'

Description

Determine whether a value is, or should be, 'NA'

Usage

is_na_ish(x, extra_na = NULL)

Arguments

x

vector to test

extra_na

Additional values to consider equivalent to NA

Examples

is_na_ish(c(NA, "1"))
is_na_ish(c("NA", "N/A", "NaN"))
is_na_ish(c(NA))
is_na_ish(c(NA))

[Package jwutil version 1.2.3 Index]