Skip to contents

Check Numeric Trend

Usage

assert_constant(x, ...)

assert_decreasing(x, ...)

assert_increasing(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

N. Frerebeau