Natalia VizcaĆno Palomar <natalia.vizcaino.palomar <at> gmail.com> writes:
> I've been reading for many days trying to predict with lmer but I haven't > managed to do it. > I've fitted an allometric model for trees where I have included climatic > variables and diameter in the fixed part and > in the random part I've included the experimental sites where trees are and > also their provenance region. [snip] > f431<-lmer(log(H05)~log(DN05)*(PwS+ PoS+ PpS+ > TpS)+PoP:log(DN05)+PwP:log(DN05)+(log(DN05)-1|P)+ (log(DN05)-1|S/B)+(log(DN05)|SP), > data=data) [snip snip] Have you looked at the code on http://glmm.wikidot.com/faq about this ... ? If you look at it and still can't work it out I would suggest that requesting help on the r-sig-mixed-models list will be more useful ... Ben Bolker ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.