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

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

From: Michael Mader (m.mader@gsf.de)
Date: Fri 06 Jul 2001 - 22:02:02 EST


Message-id: <3B45A8BA.7837035F@gsf.de>

Monika Ferster wrote:
>
> 3 < 2 < 1 seems to be seen like a double no because 3 < 2 < 1 < 0 returns
> F. It looks like the multiplication of -1 what is strange, because F
> corresponds to the value 0.
Not really because:

> 5<4<3<2<1
[1] FALSE
> 4<3<2<1
[1] FALSE
> 3<2<1
[1] TRUE

Somehow 3<2<1 remains special.

-- 
Michael T. Mader
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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