Re: [R] a<b<c

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

From: Ross Ihaka (ihaka@stat.auckland.ac.nz)
Date: Sat 07 Jul 2001 - 07:36:52 EST


Message-id: <3B462F74.15B82846@stat.auckland.ac.nz>

Andy Peek wrote:
>
> > 3<2<1
> [1] TRUE
> > 4<3<2
> [1] TRUE
> > 12<4<1
> [1] TRUE
> > 7<6<5<4
> [1] TRUE
> > 8<7<6<5<4
> [1] TRUE
> > 27<26<25
> [1] TRUE
> > 9<8<7<6<5<4<3<2
> [1] TRUE
> > 9<8<7<6<5<4<3
> [1] TRUE
> > 9<8<7<6<5<4
> [1] TRUE
> > 9<8<7<6<5
> [1] TRUE
> > 9<8<7<6
> [1] TRUE
> > 9<8<7
> [1] TRUE
> > 4<3<2<1
> [1] FALSE
> > 5<4<3<2<1
> [1] FALSE
> 10<9<8<7<6<5<4<3<2<1
> [1] FALSE
> > 9<8<7<6<5<4<3<2<1
> [1] FALSE
> > 9<8
> [1] FALSE
> > 8<7<6<5<4<3<2<1
> [1] FALSE
> > 7<6<5<4<3<2<1
> [1] FALSE
> > 6<5<4<3<2<1
> [1] FALSE
> > 5<4<3<2<1
> [1] FALSE
> > 4<3<2<1
> [1] FALSE
> > 3<2<1
> [1] TRUE
>
> 3<2<1 appears not to be a special case for TRUE

Think about :

> (3<2)<1
[1] TRUE
> 3<(2<1)
[1] FALSE

-- 
Ross Ihaka                         Email:  ihaka@stat.auckland.ac.nz
Department of Statistics           Phone:  (64-9) 373-7599 x 5054
University of Auckland             Fax:    (64-9) 373-7018
Private Bag 92019, Auckland
New Zealand
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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:19 EST