allNA {genefilter}R Documentation

A filter function to determine if all elements of a vector are NA.

Description

allNA evaluates to FALSE if all elements of its argument are NA. anyNA evaluates to FALSE if any of the elements of its argument are NA.

Usage

allNA(x)
anyNA(x)

Arguments

x The vector to test.

Value

FALSE if all elements of x are NA.

Author(s)

R. Gentleman

See Also

pOverA

Examples

  allNA(NA)
  allNA(1)
  anyNA(1)
  anyNA(NA)

[Package genefilter version 1.8.0 Index]