checkNumeric: Helper function that generates error message if non-numeric...

Description Usage Arguments Value

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

Description

If emptyOkay=TRUE, NA or NULL values are allowed in n. Otherwise, they will raise an error.

Usage

1
checkNumeric(n, emptyOkay = FALSE, expectedLength = 1)

Arguments

n

Input value of arbitrary type.

A

boolean. True if NA or NULL values are allowed, FALSE otherwise.

Value

n or errors.


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.