Message-ID: <3ABB2FE2.1F1F5A72@statistik.uni-dortmund.de>
Date: 2001-03-23T11:13:38Z
From: Uwe Ligges
Subject: order() and na.last
"Richards, Tom" wrote:
>
> 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.
Let's read the help (?order):
na.last: for controlling the treatment of `NA's. If `TRUE', missing
values in the data are put last; if `FALSE', they are put
first; if `NA', they are removed. Currently, `TRUE' is the
only possible value.
To point it out: "Currently, 'TRUE' is the only possible value.
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._