Learn R Programming

arkhe (version 1.7.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 validation methods: assert_data, assert_length(), assert_lower(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type(), validate()