is.na()
R/na.R
na.Rd
a(x) is the same as !is.na(x) and na() is an alias for is.na().
a(x)
!is.na(x)
na()
a(x) na(x)
A vector to be tested.
A logical vector.
a(c(1, NA, 3)) #> [1] TRUE FALSE TRUE na(c(1, NA, 3)) #> [1] FALSE TRUE FALSE