[R] bug?

Martin Maechler maechler at stat.math.ethz.ch
Tue Jul 15 09:44:22 CEST 2003


Before everyone re-invents the wheel:

All current versions of the S language (including R for several
years) have the generic function   all.equal()
with a method for simple numeric vectors (but with many other methods too).

The point is that you need a *combination* of relative and
absolute difference.  Look at all.equal.numeric() if you want to
learn ..

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><




More information about the R-help mailing list