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:

    family=Gamma(link="inverse")

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.

cheers,

Rolf Turner

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

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to