[R-sig-ME] Obtaining X beta + Zb

Steve Walker steve.walker at utoronto.ca
Tue Jun 24 15:31:01 CEST 2014


I'm assuming you are referring to linear mixed models (i.e. lmer):

fm <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
fitted.values(fm)

Cheers,
Steve


On 2014-06-24, 9:12 AM, Asaf Weinstein wrote:
> Hello,
>
> I wonder if there is a direct way to obtain the (BLUP of the) linear
> predictor, X beta + Zb, without having to first extract the (BLUP of the)
> random effects (with function ranef).
>
> Thanks so much,
> Asaf
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>



More information about the R-sig-mixed-models mailing list