[R] Installing on 64-bit Dec or SGI

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Feb 10 15:20:09 CET 1999


George White <gwhite at bodnext.bio.dfo.ca> writes:

> > codes(as.ordered(NULL))
> Error: no applicable method for "codes"
> 
> Is this a bug or a change in the definition of "codes"?

A bug in ordered(), if any. Probably the first bit of that should read

    if (length(x) == 0) 
        return(structure(numeric(0), 
		class=c(if(ordered)"ordered","factor")))

rather than return(character(0)).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list