[R] gamm4 and lme4 error

Simon Wood s.wood at bath.ac.uk
Mon Jul 14 19:06:09 CEST 2014


Thanks - It looks like an lme4 1.1-7 change. I'll look for a work around 
(once I can get nlopt-2.4 to install). Meanwhile, I think it's still 
safe to use.
best,
Simon

On 13/07/14 05:05, Nicholas Lange wrote:
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Simon Wood, Mathematical Science, University of Bath BA2 7AY UK
+44 (0)1225 386603               http://people.bath.ac.uk/sw283



More information about the R-help mailing list