[R-sig-ME] gamm4: predict to reflect random effects?
Mollie Brooks
mbrooks at ufl.edu
Fri Oct 10 13:30:21 CEST 2014
Hi Mark,
Since no one replied to my question, I assume that the answer given by Simon Wood in 2011 is still current.
http://r.789695.n4.nabble.com/mgcv-gamm-predict-to-reflect-random-s-effects-td3622738.html
As Wood suggests at the link (scroll down), my lab group is using gam() with a spline for the random effect like s(Subject,bs="re")
Cheers,
Mollie
------------------------
Mollie Brooks, PhD
Postdoctoral Researcher, Population Ecology Research Group
Institute of Evolutionary Biology & Environmental Studies, University of Zürich
http://www.popecol.org/team/mollie-brooks/
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list