is.nr: is.nr

Description Usage Arguments Value Author(s) Examples

View source: R/userfriendlyscienceBasics.R

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 <[email protected]>

Examples

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

userfriendlyscience documentation built on May 29, 2017, 6:18 p.m.