check-numeric {arkhe}R Documentation

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, ...)

Arguments

x

A numeric object to be checked.

...

Extra parameters to be passed to internal methods.

Value

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

Author(s)

N. Frerebeau

See Also

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


[Package arkhe version 1.0.0 Index]