is.nr: is.nr

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
is.nr(x)

Arguments

x

The value or vector to check.

Value

TRUE or FALSE.

Author(s)

Gjalt-Jorn Peters

Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>

Examples

1
2
3
is.nr(8);    ### Returns TRUE
is.nr(NULL); ### Returns FALSE
is.nr(NA);   ### Returns FALSE

userfriendlyscience documentation built on May 2, 2019, 1:09 p.m.