Skip to content
Prev 25737 / 398502 Next

[NB] lm problems

On Tue, 26 Nov 2002, Matej Cepl wrote:

            
Well, all the warnings are of the form "  not meaningful for ordered
factors".  The problem is that lm is not meaningful for ordered factors.

You appear to want a linear regression model where the response is
1,2,3,4,5 according to the levels of G5. You need to define a variable
like that.  You can probably just use

numG5<-unclass(noscj$G5)


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