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-attributes
,
predicate-data
,
predicate-matrix
,
predicate-names
,
predicate-numeric
,
predicate-type
[Package arkhe version 1.9.0 Index]