Re: [R] lme ->Error in getGroups.data.frame(dataMix, groups)

2018-11-24 Thread Bert Gunter
In brief, your random effects formula syntax is wrong. You need to (re) study ?lme or suitable tutorials for details of how to do what you want -- if you can with lme (e.g. crossed random effects are very difficult in lme, much easier in lmer). However, you should probably re-post on the r-sig-mix

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

2018-11-24 Thread Boy Possen
The basic idea is to create a linear model in R such that FinH is explained by SoilNkh, dDDSP, dDDSP2, Provenance, Site, Genotype and Block, where SoilNkh, dDDSP and dDDSP2 are continuous covariates, Provenance, Site, Genotype and Block are factors, Site and Provenance are fixed and Genotype and Bl