Re: [R] save a regression model that can be used later

2010-11-23 Thread Greg Snow
One possibility for what is happening is that when you load the object it does not automatically load the package as well, so you get an error when working with the object. Try loading lme4 package in a new session, then load the saved object and see if things work for you. -- Gregory (Greg)

[R] save a regression model that can be used later

2010-11-22 Thread Ni, Melody Zhifang
Hi everyone I have a question about how to save a regression model in R and how to retrieve it for making predictions in a new session. To be more specific, I fitted a multilevel logistic regression model using the lmer from the lme4 package. I then successfully make predictions using

Re: [R] save a regression model that can be used later

2010-11-22 Thread David Winsemius
On Nov 22, 2010, at 10:02 AM, Ni, Melody Zhifang wrote: Hi everyone I have a question about how to save a regression model in R and how to retrieve it for making predictions in a new session. To be more specific, I fitted a multilevel logistic regression model using the lmer from the