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_overlapping()
checks if two data ranges overlap at all.
is_constant(x, tolerance = .Machine$double.eps^0.5, na.rm = TRUE)is_increasing(x, na.rm = TRUE)
is_decreasing(x, na.rm = TRUE)
A numeric
object to be tested.
A numeric
scalar giving the tolerance to check within.
A logical
scalar: should missing values (including NaN
)
be omitted?
A logical
scalar.
Other predicates:
predicate-graph
,
predicate-matrix
,
predicate-numeric
,
predicate-scalar
,
predicate-type
,
predicate-utils