I have found a regression model, and i would like to predict value in
different points. I have tried to use predict function but it doesn't work.
I have used predict function like this:

newdata<-seq(from=0.1, to=0.32,by=0.02)
data<-predict(fm,newdata)

where fm is a regression model. The predict function return me that:

Error in eval(predvars, data, env) :   numeric argument 'envir' doesn't have
unitary length

where is the error?


-- 
View this message in context: 
http://www.nabble.com/predict-tp24719362p24719362.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to