[R] error using user-defined link function with mixed models (LMER)
Ken Knoblauch
knoblauch at lyon.inserm.fr
Sun Feb 11 16:15:54 CET 2007
Isn't it the case, that since R 2.40 that all one ought to need do is
define one's own link and pass it to the family, rather re-defining the whole
family?
CHANGES IN R VERSION 2.4.0
...
o make.link() now returns an object of class "link-glm".
The GLM families accept an object of this class for their
'link' argument, which allows user-specified link functions.
Also, quasi() allows user-specified variance functions.
I thought that was the point of the example on the family help page.
ken
Douglas Bates a écrit :
Look at the 'link' component of the two lists. In the binomial family
object the link component is a character vector of link 1. In your
logexposure family object it is a list of length 5.
On 2/10/07, Jessi Brown <jessilbrown at gmail.com> wrote:
> Ok, I've tried checking out the structure of the binomial and
> logexposure families, the big difference appears to be the valideta
> parameter (it's "NULL" in the logexposure family).
>
--
Ken Knoblauch
Inserm U846
Institut Cellule Souche et Cerveau
Département Neurosciences Intégratives
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.lyon.inserm.fr/371/
More information about the R-help
mailing list