How can I incorporate random effects into the formula of generalized additive models (GAM)?

0

I want to test the effects of demographic rates (recruitment and mortality) on plant biomass / AB over time. Since the relationship between these variables is not linear, I'm trying to use GAM models instead of GLMM. But, I do not know how to incorporate random effects into the model, which in this case are my samples.

This is very confusing to me that I am learning this type of analysis, and I am having a lot of difficulties.

I thought about doing this: model

asked by anonymous 19.02.2018 / 16:10

0 answers