问题 I have a problem when I use my model to do some prediction, R shows this message Warning message prediction from a rank-deficient fit may be misleading , how can I solve it? I think my model is correct is the prediction that fails and I don't know why. Here you can see step by step what I am doing and the summary of model: myModel <- lm(margin~.,data = dataClean[train,c(target,numeric,categoric)]) Call: lm(formula = margin ~ ., data = dataClean[train, c(target, numeric, categoric)]) Residuals