[R] Why does a[which(b == c[d])] not work?

Jason Turner jasont at indigoindustrial.co.nz
Wed Oct 8 20:00:34 CEST 2003


Whoops.  Hit "send" too quickly.

Jason Turner wrote:
> tol <- sqrt(.Machine$double.eps)
> dcrn[(fn - inve[2]) < tol]

that should be
dcrn[abs(fn - inve[2]) < tol]

-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz




More information about the R-help mailing list