I was using the glm package in R and came across the following error. I am unable to resolve this error = ‘prediction from a rank-deficient fit may be misleading’ or understand the meaning. Please help.
model <- glm(y ~ ., train, family = binomial())
pred = predict(model, cv)
In predict.lm(object, newdata, se.fit, scale = 1, type = ifelse(type == :
prediction from a rank-deficient fit may be misleading