[R] lm regression
effeesse
scarpino86 at gmail.com
Fri Nov 26 15:06:07 CET 2010
I found one error in in the code, however, I still receive errors.
Error in storage.mode(y) <- "double" :
invalid to change the storage mode of a factor
Moreover: Warning message:
In model.response(mf, "numeric") :
using type="numeric" with a factor response will be ignored
>From my understanding of the warning there are two errors, maybe they are
connected. I think I should change an option in the lm changing the responso
from "numeric" to "factor". Is it true? How it can be done?
--
View this message in context: http://r.789695.n4.nabble.com/lm-regression-tp3060123p3060363.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list