Re: [R] a < b < c is alway TRUE

About this list Date view Thread view Subject view Author view Attachment view

From: Till Baumgaertel (till.baumgaertel@epost.de)
Date: Fri 06 Jul 2001 - 21:55:04 EST


Message-id: <3B45C338.3491.2C846D@localhost>


> 3 < 2 < 1 seems to be seen like a double no because 3 < 2 < 1 < 0 returns
> F.

evaluation from left to right:

3 < 2 < 1 < 0
reads like
((3<2)<1)<0
evaluates to
( FALSE < 1) < 0
evaluates to
TRUE < 0
evaluates to
FALSE

cu
till

--
"I have seen things you people wouldn't believe.
Attack-ships  on fire off the shoulder of Orion.
I watched seabeams glitter in the dark near the 
Tannhauser gate.
All  those  moments  will  be lost in time like
tears in rain. Time to die."              (Roy)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:18 EST