From gregor.gorjanc at bfro.uni-lj.si  Tue Mar 14 12:03:35 2006
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Tue, 14 Mar 2006 12:03:35 +0100
Subject: [Rd] Undocumented argument na.last in factor()
In-Reply-To: <17430.41372.607288.134595@stat.math.ethz.ch>
References: <441685AE.7070607@bfro.uni-lj.si>
	<17430.41372.607288.134595@stat.math.ethz.ch>
Message-ID: <4416A307.9050206@bfro.uni-lj.si>

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.



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