all.equal.nls2 - Test Equality of nls2 Objects
On to:
DESCRIPTION
USAGE
REQUIRED-ARGUMENTS
VALUE
DETAILS
SEE-ALSO
EXAMPLE
DESCRIPTION:
Compare two `nls2.object'.
If they are not equal, a message describing their differences is printed
and the function returns FALSE;
otherwise the function returns TRUE.
The names or dimnames are not compared.
USAGE:
all.equal.nls2(target, current, ...)
REQUIRED ARGUMENTS:
- target,current
-
two objects of class `nls2' (see `nls2.object').
- ...
-
other arguments for the fonction all.equal.numeric,
as tolerance or scale
VALUE:
If all components
are equal, returns TRUE.
Otherwise, returns FALSE after printing out a message.
DETAILS:
Components "call" and "model$file" are considered irrelevant
for comparison of `nls2.object' and therefore are not compared.
This function is a method for the generic function `all.equal'
for class `nls2'.
It can be invoked by calling `all.equal' for an object of the appropriate
class, or directly by calling `all.equal.nls2' regardless of the
class of the object.
SEE ALSO:
`nls2.object'
EXAMPLE:
all.equal(insect.nls2, insect.nl1, tolerance=10e-6)
- Mon Sep 30 1996 -