predicate-data {arkhe}R Documentation

Utility Predicates

Description

Usage

has_missing(x)

has_infinite(x)

has_duplicates(x)

is_unique(x, tolerance = sqrt(.Machine$double.eps), na.rm = FALSE)

Arguments

x

A vector to be tested.

tolerance

A numeric scalar giving the tolerance to check within (for numeric vector).

na.rm

A logical scalar: should missing values (including NaN) be omitted?

Value

A logical scalar.

See Also

Other predicates: is_scalar, predicate-attributes, predicate-matrix, predicate-names, predicate-numeric, predicate-trend, predicate-type


[Package arkhe version 1.9.0 Index]