Skip to content
Prev 6996 / 20628 Next

repeated measurement using mixed model

Dear Jinsong Zhao,

In this case, you may wish to use a generalized least squares model (gls), also to be found in the nlme library. You can start with an initial model
containing only fixed effects, and then update it with an appropriate correlation structure.

Try this first:

library(nlme)
?gls
?corStruct

All the best
Christoph
on 18.11.2011 07:29, Jinsong Zhao wrote: