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

Description Usage Arguments Examples

View source: R/na.r

Description

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

Usage

1
is_na_ish(x, extra_na = NULL)

Arguments

x

vector to test

extra_na

Additional values to consider equivalent to NA

Examples

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

jackwasey/jwutil documentation built on Dec. 5, 2018, 5:31 a.m.