Learn R Programming

arkhe (version 1.10.0)

assert_constant: Check Numeric Trend

Description

Check Numeric Trend

Usage

assert_constant(x, ...)

assert_decreasing(x, ...)

assert_increasing(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 checking methods: assert_dim(), assert_empty(), assert_infinite(), assert_length(), assert_lower(), assert_missing(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type(), assert_unique()