Re: [R] ask for help about lme function

2021-07-20 Thread Bert Gunter
The mixed models list is r-sig-mixed-models . nlme:lme is not really designed for crossed random effects. IIRC, it's possible, but not easy. As Kevin said, lme4:lmer is really what you should use. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking thi

Re: [R] ask for help about lme function

2021-07-20 Thread Kevin Thorpe
You might get better answers on the r-sig-ME list. The lmer() function from lme4 handles crossed and non-nested random effects quite seamlessly. I cannot comment on whether or not lme() can as well. -- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Kno

[R] ask for help about lme function

2021-07-20 Thread Juan Liu
Dear R project, I am a doctoral student in Zhejiang university in China, I am using lme function in nlme package and learning the function by Package 'nlme' document. I am writing this email for some help to build a lme model. My goal was to include two non-nested random effects in the lme mode