Test if an Object is Invariant
is_invariant.Rd
Test if an object is invariant (i.e. all values are equal, within a given tolerance for numeric vectors).
Usage
is_invariant(x, ...)
# Default S3 method
is_invariant(x, na.rm = FALSE, ...)
# S3 method for class 'numeric'
is_invariant(x, na.rm = FALSE, tol = sqrt(.Machine$double.eps), ...)
# S3 method for class 'list'
is_invariant(x, incl_nm = TRUE, ...)
# S3 method for class 'data.frame'
is_invariant(x, ...)
See also
Other value predicates:
char_val_predicates
,
num_val_predicates
Other predicates:
char_val_predicates
,
is_curie()
,
lgl_predicates
,
num_val_predicates
,
obo_ID_predicates