I'm getting the following error after running this code chunk below for a glm model:
glm.fit: algorithm did not converge glm.fit: fitted probabilities numerically 0 or 1 occurred.
is.factor(df$Direction)
df$Direction[1:10]
df$Direction <- as.factor(df$Direction)
levels(df$Direction)
glm.fits1=glm(Direction~.,data=df,family=binomial)
summary(glm.fits1)