assert_constant: Check Numeric Trend

View source: R/assert.R

assert_constantR Documentation

Check Numeric Trend

Description

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(s)

N. Frerebeau

See Also

Other validation methods: assert_data, assert_length(), assert_lower(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type(), validate()


nfrerebeau/codex documentation built on May 1, 2024, 6:11 a.m.