Learn R Programming

splus2R (version 1.1-0)

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.

concept

splus

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