checkNumeric1D: Check if input n is numeric. Generally errors if n not...

Description Usage Arguments Value

View source: R/utilities-input-validation.R

Description

Check if input n is numeric. Generally errors if n not numeric. Errors for NULL or NA values if emptyOkay=FALSE.

Usage

1
checkNumeric1D(n, emptyOkay = FALSE)

Arguments

n

Arbitrary length 1 input

emptyOkay

If FALSE, function will error if n is NULL or NA. If TRUE, no error is raised.

Value

n


privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.