is.nr: 'NULL' and 'NA' 'proof' checking of whether something is a...

Description Usage Arguments Value 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.

Examples

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

Matherion/ufs documentation built on May 17, 2019, 12:49 p.m.