Learn R Programming

arkhe (version 0.2.0)

check-numeric: Check Numeric Values

Description

Check Numeric Values

Usage

check_numbers(x, expected = c("positive", "whole", "odd", "even"), ...)

check_constant(x)

Arguments

x

A numeric object to be checked.

expected

An appropriate expected value.

Value

Throw an error, if any.

See Also

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