Learn R Programming

arkhe (version 1.2.0)

check-numeric: Check Numeric Values

Description

Check Numeric Values

Usage

assert_count(x, ...)

assert_whole(x, ...)

assert_positive(x, ...)

assert_negative(x, ...)

assert_odd(x, ...)

assert_even(x, ...)

Value

Throws an error, if any, and returns x invisibly otherwise.

Arguments

x

A numeric object to be checked.

...

Extra parameters to be passed to internal methods.

Author

N. Frerebeau

See Also

Other validation methods: check-attribute, check-data, check-matrix, check-numeric-comparison, check-numeric-trend, check-type, needs(), validate()