Check numeric objects:
is_constant()
checks for equality among all elements of a vector.
is_increasing()
and is_decreasing()
check if a sequence of numbers
is monotonically increasing or decreasing, respectively.
is_constant(x, tolerance = .Machine$double.eps^0.5, 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)
A logical
scalar.
Other predicates:
predicate-graph
,
predicate-matrix
,
predicate-numeric
,
predicate-scalar
,
predicate-type
,
predicate-utils