predicate-utils | R Documentation |
is_empty()
checks is an object is empty (any zero-length dimensions).
has_length()
checks how long is an object.
has_names()
checks if an object is named.
has_duplicates()
checks if an object has duplicated elements.
has_missing()
and has_infinite()
check if an object contains missing
or infinite values.
has_length(x, n = NULL)
is_empty(x)
has_names(x, names = NULL)
has_missing(x)
has_infinite(x)
is_unique(x, tolerance = sqrt(.Machine$double.eps), na.rm = FALSE)
has_duplicates(x)
x |
A |
n |
A length-one |
names |
A |
tolerance |
A |
na.rm |
A |
A logical
scalar.
Other predicates:
is_scalar
,
predicate-matrix
,
predicate-numeric
,
predicate-trend
,
predicate-type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.