[R] simple example for linear mixed effects model

Dieter Menne dieter.menne at menne-biomed.de
Sun Mar 29 10:37:24 CEST 2009

Edna Bell wrote:
> Could someone point me to a small example of a linear mixed effects
> model, please?

Check R_HOME/library/nlme/scripts/ch01.R 

But better get the book by Pinheiro/Bates (PB)

Edna Bell wrote:
> Ideally, this example would only have a few data points so I could
> calculate by hand to compare results to R results, please.

For classical anova, this might be a good choice to learn how
it works. For mixed models, I recommend spend the time with PB.


View this message in context: http://www.nabble.com/simple-example-for-linear-mixed-effects-model-tp22763807p22765441.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list