This function compares two lists or environments. It is
useful for comparing results obtained in R and Octave.
Usage
check.equal(x, y, msg)
Arguments
x
a list or an environment
y
a list or an environment
msg
a character string used (if not missing) in a
message that is printed before the comparison. It is
useful for separating multiple sequential comparisons.
Value
No value is returned, but prints out:
the
element/variable names of each input list or environment,
the result of the comparison of the elements inxand the corresponding element iny-- if
present.