Skip to content
Prev 390953 / 398506 Next

linear mixed model using lmer

I think the best analysis of this data is:

library(lattice)
dotplot(yield ~ batch, daty)
bwplot(yield ~ batch, daty)

There is no detectable difference between batches.

But, if you insist, try removing the overall intercept.

m1 <- lmer(yield~0+(1|batch),daty)
coef(m1)
summary(m1)
VarCorr(m1)



On Fri, Mar 4, 2022 at 6:44 PM array chip via R-help
<r-help at r-project.org> wrote: