Description Usage Arguments Details Value Author(s) See Also
Internal functions defining tolerances for the comparedf.control
function.
To create your own tolerance definitions, see the vignette.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | tol.NA(x, y, idx)
tol.num.absolute(x, y, tol)
tol.num.percent(x, y, tol)
tol.num.pct(x, y, tol)
tol.factor.none(x, y)
tol.factor.levels(x, y)
tol.factor.labels(x, y)
tol.char.both(x, y)
tol.char.case(x, y)
tol.char.trim(x, y)
tol.char.none(x, y)
tol.date.absolute(x, y, tol)
tol.logical.none(x, y)
tol.other.none(x, y)
|
x, y |
vectors of the appropriate lengths and types. |
idx |
A logical vector of appropriate length. |
tol |
A numeric tolerance |
tol.NA
takes as differences between two vectors any elements which are NA in one but not the other,
or which are non-NA in both and TRUE
in idx
. It is useful for handling NAs in custom tolerance functions.
A logical vector of length equal to that of x
and y
, where TRUE
denotes a
difference between x
and y
, and FALSE
denotes no difference between x
and y
.
Ethan Heinzen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.