is.nr

is.nr

Convenience function that returns TRUE if the argument is not null, not NA, and is.numeric.

Usage
is.nr(x)
Arguments
x

The value or vector to check.

Value

TRUE or FALSE.

Aliases
  • is.nr
Examples
# NOT RUN {
is.nr(8);    ### Returns TRUE
is.nr(NULL); ### Returns FALSE
is.nr(NA);   ### Returns FALSE
# }
Documentation reproduced from package userfriendlyscience, version 0.6-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.