Message-ID: <3B45BB6F.6582.E1B7B@localhost>
Date: 2001-07-06T11:21:51Z
From: Till Baumgaertel
Subject: a < b < c is alway TRUE
In-Reply-To: <3B458665.8AC006B1@statistik.uni-dortmund.de>
> 3 < 2 < 1 # [1] TRUE ???
this is evaluated from left to right:
(3<2)<1
3<2 = FALSE
FALSE<1 = TRUE
what's surprising is the following:
> FALSE<1
[1] TRUE
> FALSE>1
[1] FALSE
> TRUE<1
[1] FALSE
> TRUE>1
[1] FALSE
because of symmetry i'd expect TRUE>1 to be TRUE.
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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._