Skip to content

gamm4: predict to reflect random effects?

1 message · Mark Miller

#
Mollie Brooks <mbrooks at ...> writes:
gamm4 model including the random effects?
effects-td3622738.html
but it doesn?t recognize the
data=dat)
http://www.popecol.org
of Z?rich
gamm4 model including the random effects?
effects-td3622738.html
but it doesn?t recognize the
data=dat)
http://www.popecol.org
of Z?rich
Hi Mollie, 

I am also in the same position as you (although a couple of months 
behind). Have you found a solution for predicting fixed and random 
effects from GAMMs? I am going to try manually adding the fixed and 
random effects from the gamm4$mer object using model.matrix. If anyone 
has any other suggestions I'd be very keen to know.

Cheers,

Mark