predicate-trend {arkhe} | R Documentation |
Numeric Trend Predicates
Description
Check numeric objects:
-
is_constant()
checks for equality among all elements of a vector. -
is_increasing()
andis_decreasing()
check if a sequence of numbers is monotonically increasing or decreasing, respectively.
Usage
is_constant(x, tolerance = sqrt(.Machine$double.eps), na.rm = FALSE)
is_increasing(x, na.rm = FALSE)
is_decreasing(x, na.rm = FALSE)
is_greater(x, y, strict = FALSE, na.rm = FALSE)
is_lower(x, y, strict = FALSE, na.rm = FALSE)
Arguments
x , y |
A |
tolerance |
A |
na.rm |
A |
strict |
A |
Value
A logical
scalar.
See Also
Other predicates:
is_scalar
,
predicate-matrix
,
predicate-numeric
,
predicate-type
,
predicate-utils
[Package arkhe version 1.7.0 Index]