diff --git a/chapters/lattice-design.qmd b/chapters/lattice-design.qmd index f86c022..0fbacb3 100644 --- a/chapters/lattice-design.qmd +++ b/chapters/lattice-design.qmd @@ -112,7 +112,9 @@ summary(m1) ```{r, eval=FALSE} ## lme not working for this, need help in fixing it m1 <- lme(yield ~ gen, - random = ~ 1|rep + 1|rep:row + 1|rep:col, + random = list(rep = ~ 1, rep|row = ~1, rep|col = ~1), + #random = list (~1|rep, ~1|rep:row, ~1|rep:col), + # random = ~ 1|rep + 1|rep:row + 1|rep:col, data = dat, na.action = na.exclude) ```