I tried this

--------------------------------------------------------------------------------------------
fit<-glm(Pred~Pressure+MissingStep, data = Test, family="binomial")

save(fit,file="pred.rda")

pred<-load("pred.rda")


predict(pred,Testsamp,type="response")

------------------------------------------------------------------------------------

But got this error message

 no applicable method for 'predict' applied to an object of class "character"

What did I do wrong?


Tjun Kiat

                                          
        [[alternative HTML version deleted]]

______________________________________________
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