[Rd] Undocumented argument na.last in factor()

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Tue Mar 14 12:03:35 CET 2006


Martin Maechler wrote:
>>>>>>"Gregor" == Gregor Gorjanc <gregor.gorjanc at bfro.uni-lj.si>
>>>>>>    on Tue, 14 Mar 2006 09:58:22 +0100 writes:
> 
> 
>     Gregor> Hello!  I just noticed that argument na.last in
>     Gregor> factor() is not documented. Did I miss something or
>     Gregor> ...? I just wonder how base package passes then R
>     Gregor> CMD check. I checked also in source man page in
>     Gregor> R-devel.
> 
> I wondered too -- for a few moments only -- after reading your
> message...
> 
> *BUT*  na.last  is *not* an argument to factor()!
> 
> Look more carefully  at   str(factor)  or args(factor)
> (or the help page) !

Argh, yes you are right. Argument na.last is for sort for levels. I
apologize for this.

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.



More information about the R-devel mailing list