anyNA: Checks for NA in a vector

Description Usage Arguments Value Author(s) References Examples

Description

Some users have this as an internal function, others do not

Usage

1
anyNA(x)

Arguments

x

A vector that one checks for any NA values.

Value

TRUE if any NA values are detected in x. Otherwise FALSE.

Author(s)

Yan-Xia Lin

References

no references

Examples

1
2
3
4
5
6
7
8
9
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
    any(is.na(x))
  }

MaskJointDensity documentation built on May 2, 2019, 8:28 a.m.