is_na: Checks whether the variable is NA

Description Usage Arguments Value Examples

View source: R/predicates.R

Description

Checks whether the variable is NA

Usage

1
is_na(x)

Arguments

x

(any) The object to test

Value

TRUE if x is NA, FALSE otherwise

Examples

1
2
3
4
5
6
is_na(1)
is_na("foo")
is_na(NA)

is_na(c(1, NA))
is_na(c(NA, NA))

msgr documentation built on Dec. 16, 2019, 5:41 p.m.

Related to is_na in msgr...