[R] gamm4 and lme4 error

Nicholas Lange nlange at hms.harvard.edu
Sun Jul 13 06:05:05 CEST 2014


Hello,

I'm running R.3.1.1 on Mac OS X 10.6.8 with gamm4 version 0.2-2 and lme4 version 1.1-7. I get the following error when trying to fit the simplest model I can think of:

> fit = gamm4( y ~ s(x))

Warning message:
In deviance.merMod(ret$mer) :
  deviance() is deprecated for REML fits; use REMLcrit for the REML criterion or deviance(.,REML=FALSE) for deviance calculated at the REML fit
>

Does anyone see what's wrong? Any answer would be greatly appreciated.

Nick



More information about the R-help mailing list