Skip to content
Prev 17263 / 20628 Next

lme ->Error in getGroups.data.frame(dataMix, groups)

Didn't read carefully, but: lme does not allow crossed random
effects without considerable effort (there is an example somewhere in
the later chapters of Pinheiro and Bates's book).  You r model
specification

 test64 <- lme(FinH~SoilNkh + Site + dDDSP + dDDSP2 + Provenance +
Site:Provenance,
            random = ~1|Provenance/Genotype + ~1|Site/Block,data=d1)

appears to specify crossed provenance/genotype and site/block REs.

If you can use lme4::lmer it should be easier (note RE is specified as
an additive term within the single formula argument).
On Tue, Dec 11, 2018 at 12:17 PM Boy Possen <bpossen at gmail.com> wrote: