Displaying 2 results from an estimated 2 matches for "__unless__".
2015 Jul 30
1
all.equal: possible mismatch between behaviour and documentation
...because abs(0.1) > 0.01.
Irrespective of the documentation,
the above example should continue to produce what it does now.
These numbers are not close to zero (compared to tol), and so
relative error should be used.
The whole idea of all.equal.numeric() is to use *relative* error/difference
__unless__ that is not sensible anymore, namely when the
denominator of the ratio which defines the relative error
becomes too close to zero (and hence has to be seen as
"unstable" / "unreliable").
The exact behavior of all.equal.numeric() has __ I'm pretty sure, but
can no longer eas...
2015 Jul 28
2
all.equal: possible mismatch between behaviour and documentation
Dear all,
The documentation for `all.equal.numeric` says
Numerical comparisons for ?scale = NULL? (the default) are done by
first computing the mean absolute difference of the two numerical
vectors. If this is smaller than ?tolerance? or not finite,
absolute differences are used, otherwise relative differences
scaled by the mean absolute difference.
But the actual behaviour