This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/NA.html
NA {base}R Documentation

Not Available Value

Description

NA is a logical constant of length 1 which contains a missing value indicator. NA can be freely coerced to any other vector type.

as.na ignores its argument and returns the value NA.

is.na takes a vector argument and returns a logical vector of the same length containing TRUE for those elements marked NA and FALSE otherwise. dim, dimnames and names attributes are preserved.

Usage

NA
is.na(x)
as.na(x)

See Also

complete.cases.


[Package base version 0.60 ]