Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.missing

Check for missing values


Description

Check to see whether the input is either NA or a vector of length 0.

Usage

is.missing(x)

Arguments

x

object to check.

Value

TRUE if the input is a vector of length 0; is.na(x) otherwise.

See Also

Examples

is.missing(numeric(0))
is.missing(NA)
is.missing(c(1,2,3,NA,5))

splus2R

Supplemental S-PLUS Functionality in R

v1.3-3
GPL-2
Authors
William Constantine [aut], Tim Hesterberg [aut], Knut Wittkowski [ctb], Tingting Song [ctb], Bill Dunlap [ctb], Stephen Kaluzny [ctb, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.