Learn R Programming

splus2R (version 1.3-5)

anyMissing: Returns TRUE if missing values are round, otherwise FALSE

Description

Detection of missing values.

Usage

anyMissing(x)

Value

logical, TRUE is missing values are detected.

Arguments

x

any object (though not all are currently supported).

See Also

is.missing, which.na.

Examples

Run this code
anyMissing(1:5)
anyMissing(c(1, NA, 2))
anyMissing(list(a=1:3, b=NA))
anyMissing(data.frame(a=1:3, b=c(NA, 5:6)))

Run the code above in your browser using DataLab