Bug in inequalities involving ordered factors (PR#232)

About this list Date view Thread view Subject view Author view Other groups

Subject: Bug in inequalities involving ordered factors (PR#232)
john.maindonald@anu.edu.au
Date: Mon 26 Jul 1999 - 12:41:12 EST


Message-Id: <199907260241.EAA04232@pubhealth.ku.dk>

> stress.level<-rep(c("low","medium","high"),2)
> ordf.stress<-ordered(stress.level, levels=c("low","medium","high"))
> ordf.stress
[1] low medium high low medium high
Levels: low < medium < high
> ordf.stress >= "medium"
[1] FALSE TRUE FALSE FALSE TRUE FALSE

#### Clearly the third and sixth values should be TRUE

--please do not edit the information below--

Version:
 platform = Windows
 arch = x86
 os = Win32
 system = x86, Win32
 status =
 status.rev = 0
 major = 0
 minor = 64.2
 year = 1999
 month = July
 day = 3
 language = R

Windows 9x 4.0 (build 1111) B

Search Path:
 .GlobalEnv, Autoloads, package:base

John Maindonald email : john.maindonald@anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
Australia

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:06 EST