[R] prediction problem

2012-11-22 Thread Catarina Maia
Hello, I am using the mda package and in particular the fda routine to classify/predict in terms of color to a set of 20 samples for which i don´t know the color. I preformed a flexible discriminant analysis (FDA) using a set of 147 samples for which i know all the information. My script and

Re: [R] Prediction problem.

2012-11-10 Thread David Winsemius
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+

[R] Prediction problem.

2012-11-10 Thread bokaha guy
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