Skip to content
Prev 66581 / 398502 Next

lme: random effects of a quadratic term

Hello,

I am estimating the following model:

so2.lme<-lme(so2~1+I(alcadakm^2)+dia,data=subjectes2,na.action=na.omit)

And when I try to plot the random effects of the quadratic term with
respect to a covariate (mam) I get an error:
Error in plot.ranef.lme(so2.lmeRE, form = I(alcadakm^2) ~ mam ) : 
	Only single effects allowed in left side of form.

Any suggestion?

Thanks!

Montse Rue