Check Numeric Values
check_numbers(x, expected, ...)check_constant(x)
A numeric
object to be checked.
A character
string specifying the expected
value. It must be one of "positive
", "whole
", "odd
" or "even
".
Throw an error, if any.
Other check:
check-attribute
,
check-graph
,
check-matrix
,
check-missing
,
check-type