[R] Prediction problem.

David Winsemius dwinsemius at comcast.net
Sat Nov 10 17:21:20 CET 2012


On Nov 10, 2012, at 7:56 AM, bokaha guy wrote:

> Dear friends from the R-community,
> 
> I am Guy Roger and live in Germany. I am student and user of R. I wanted to do some prediction after a linear regression fitting but could´nt because of the following message:
> 
>> yx<-predict(lm(y~x4+x5),newdata=data.frame(X4,X5))
> Warnmeldung:
> In predict.lm(lm(y ~ x4 + x5), newdata = data.frame(X4, X5)) :
> Vorhersage durch Fit ohne vollen Rang mag täuschen

I cannot read the error message, but I will bet dollars to donuts that it has to do with the fact that ....  x4 ist nicht X4

-- 

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list