Learn R Programming

arkhe (version 0.3.1)

check-numeric: Check Numeric Values

Description

Check Numeric Values

Usage

check_numbers(x, expected, ...)

check_constant(x)

Arguments

x

A numeric object to be checked.

expected

A character string specifying the expected value. It must be one of "positive", "whole", "odd" or "even".

Value

Throw an error, if any.

See Also

Other check: check-attribute, check-graph, check-matrix, check-missing, check-type