[R-sig-ME] repeated measurements of continuous predictors and continuous response variable

David Duffy David.Duffy at qimrberghofer.edu.au
Thu Dec 21 03:28:15 CET 2017


> (a) should I use lmer routine? 
Yes
> If so, is it sufficient to call it as lmer(y ~ x1+x2+x3 + (1|Id)?
As a start
> (b)  How can I apply Friedman's “Multivariate Adaptive Regression Splines”
> to such problems? That is I'm looking for an R package solving such
> problems.
Consider GAMMs eg
library(mgcv)
gamm( y ~ te(x1,x2,x3), list(Id=~1))


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