all.equal.nanoduration | R Documentation |
Compare target
and current
testing ‘near
equality’. If they are different, comparison is still made to
some extent, and a report of the differences is returned. Do not
use all.equal
directly in if
expressions—either
use isTRUE(all.equal(....))
or identical
if
appropriate.
## S3 method for class 'nanoduration' all.equal( target, current, tolerance = sqrt(.Machine$double.eps), scale = NULL, countEQ = FALSE, formatFUN = function(err, what) format(err), ..., check.attributes = TRUE ) ## S4 method for signature 'nanoduration' all.equal( target, current, tolerance = sqrt(.Machine$double.eps), scale = NULL, countEQ = FALSE, formatFUN = function(err, what) format(err), ..., check.attributes = TRUE )
target, current |
|
tolerance |
numeric >= 0. Differences smaller than
|
scale |
|
countEQ |
logical indicating if the |
formatFUN |
a |
... |
further arguments for different methods |
check.attributes |
logical indicating if the |
identical
, isTRUE
,
==
, and all
for exact equality
testing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.