Given a vector, returns TRUE for all entities that aren't NA.

not.na(x)

Arguments

x

A vector to check for NAs against.

Value

A vector of elements that aren't NA

Examples

not.na(c(1, NA, 2, NA))
#> [1] TRUE FALSE TRUE FALSE