[R] order() and na.last

Richards, Tom richards at pci.upmc.edu
Fri Mar 23 11:30:29 CET 2001


Hello:

	I'm not sure what is going on in these two statements.  the first
seems to be right, but the second is a problem:

> order(c(3,2,4,NA),na.last=TRUE)
[1] 2 1 3 4

> order(c(3,2,4,NA),na.last=FALSE)
Error in .NotYetUsed("na.last != TRUE") : argument `na.last != TRUE' is not
used (yet)

> order(c(3,2,4,NA))

I am using R 1.2.2 under Windows NT.  Thanks.


Tom
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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