splus2R (version 1.2-2)

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

Description

Detection of missing values.

Usage

anyMissing(x)

Arguments

x

any object (though not all are currently supported).

Value

logical, TRUE is missing values are detected.

See Also

is.missing, which.na.

Examples

Run this code
# NOT RUN {
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