Skip to contents

a(x) is the same as !is.na(x) and na() is an alias for is.na().

Usage

a(x)

na(x)

Arguments

x

A vector to be tested.

Value

A logical vector.

See also

Examples

a(c(1, NA, 3))
#> [1]  TRUE FALSE  TRUE
na(c(1, NA, 3))
#> [1] FALSE  TRUE FALSE