Test For Missing Values - Generic function

DESCRIPTION:

Returns TRUE if missing values are round, otherwise FALSE. This function is generic; both S Version 3 and 4 methods can be written to handle specific classes of data. Classes that have methods include: data.frame, bdFrame, structure, numeric, bdNumeric, double, single, integer, logical, bdLogical, list, and miVariableVirtual. (The latter is in library(missing).)

USAGE:

anyMissing(x) 

REQUIRED ARGUMENTS:

x
any object (though not all are currently supported).

VALUE:

logical, TRUE is missing values are detected.

DETAILS:

Not all classes of objects are currently supported.

SEE ALSO:

, , .

EXAMPLES:

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)))