Check Numeric Trend
assert_constant(x, ...)assert_decreasing(x, ...)
assert_increasing(x, ...)
Throws an error, if any, and returns x invisibly otherwise.
A numeric object to be checked.
Extra parameters to be passed to internal methods.
N. Frerebeau
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()