[R] predict lmer

Ben Bolker bbolker at gmail.com
Wed Nov 2 04:40:30 CET 2011


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



More information about the R-help mailing list