Re: [R] SOS! error in GLM logistic regression...

2009-07-15 Thread Gavin Simpson
On Tue, 2009-07-14 at 15:57 -0700, Michael wrote: > Hi all, > > Could anybody tell me what happened to my logistic regression in R? > mylog=glm(mytraindata$V1 ~ ., data=mytraindata, family=binomial("logit")) > > It generated the following error message: > > Error in model.frame.default(Terms, ne

Re: [R] SOS! error in GLM logistic regression...

2009-07-14 Thread Ben Bolker
losemind wrote: > > Hi all, > > Could anybody tell me what happened to my logistic regression in R? > mylog=glm(mytraindata$V1 ~ ., data=mytraindata, family=binomial("logit")) > > It generated the following error message: > > Error in model.frame.default(Terms, newdata, na.action = na.action

[R] SOS! error in GLM logistic regression...

2009-07-14 Thread Michael
Hi all, Could anybody tell me what happened to my logistic regression in R? mylog=glm(mytraindata$V1 ~ ., data=mytraindata, family=binomial("logit")) It generated the following error message: Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) : factor 's