[R] a < b < c is alway TRUE
ligges at statistik.uni-dortmund.de
Fri Jul 6 11:35:33 CEST 2001
One of our students did something like:
x[a < b < c]
x[a < b & b < c]
But why is
3 < 2 < 1 #  TRUE ???
Is there any reason?
Or wouldn't it be better to get a warning / error?
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
More information about the R-help