[R] factor variables in logistic regression

chalabi.elahe at yahoo.de chalabi.elahe at yahoo.de
Wed May 11 14:00:55 CEST 2016


Hi all,

I have a plot for TSTMean vs. SNRMean and both of these variables are factors. How can I use Logistic Regression for factor variables?
Currently I use model=lm(TSTMean~SNRMean,data=df) but when I check summary(model) I get this error: r error in quartile.default (resid) factors are not allowed
 
thanks for any help,
Elahe



More information about the R-help mailing list