[R] [FORGED] ERROR in make.link(link)

Rolf Turner r.turner at auckland.ac.nz
Thu Mar 17 22:11:29 CET 2016

On 18/03/16 09:47, CHIRIBOGA Xavier wrote:
> Dear all,
> I am using R version 3.1.3. I want to run this model:
> m1<-glmer(hours~soil*volatile+(1|replicate),  data=data,    family=Gamma(link = "inv"))
> But I got this:
> Erreur within make.link(link) : 'inv' link not recognised
> What to do in this case?

What to do?  Use the correct syntax! Your call should be:


The name of the link must be specified *completely*; partial matching is 
not used, for fairly obvious reasons.

Actually you could just do "family=Gamma" since "inverse" is the 
*default* link.


Rolf Turner

Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

More information about the R-help mailing list