Re: [R] Multiple interaction terms in GAMM-model

2013-07-29 Thread Jeroen
Thanks for your extended reply. Application of the splines seems to be very plausible. I have now added random effects to the GAMM-model: random= list( objectID= ~1|doy ) (is that defined correct?) But I am wondering how to include both time and space in one te()-function? Or would it be bette

Re: [R] Multiple interaction terms in GAMM-model

2013-07-26 Thread Gavin Simpson
On Thu, 2013-07-25 at 04:56 -0700, Jeroen wrote: > Dear all, > > I am trying to correlate a variable tau1 to a set of other variables (x1, > x2, x3, x4), taking into account an interaction with time ('doy') and place > ('region'), and taking into account dependency of data in time per object > ID.

[R] Multiple interaction terms in GAMM-model

2013-07-25 Thread Jeroen
Dear all, I am trying to correlate a variable tau1 to a set of other variables (x1, x2, x3, x4), taking into account an interaction with time ('doy') and place ('region'), and taking into account dependency of data in time per object ID. My dataset looks like: doy objectIDregion tau1