Skip to content

factor labels in model.frame

3 messages · Thomas Lumley, Dennis L. Malandro

#
Hello,

model.frame changes the factor labels when na.action =
na.omit.
r  f
3 3 m1
4 4 m1
5 5 m2
6 6 m2

But it seems like it should be this
r  f
3 3 m2
4 4 m2
5 5 m3
6 6 m3

intead.

How do I get the second mf?

Thanks a lot,
Dennis

R 1.4.1
Windows 98



__________________________________________________

Yahoo! Tax Center - online filing with TurboTax

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 8 Apr 2002, Dennis L. Malandro wrote:

            
It certainly should, and on my machine it is (both Linux and Win2k). I
don't see how you can get the first answer.

	-thomas



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Hmm, I rebooted my computer and now it works fine. 
How weird is that?

Thanks a lot Thomas,
Dennis
--- Thomas Lumley <tlumley at u.washington.edu> wrote:
__________________________________________________



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