[R-sig-ME] [PATCH] lmList does not work for generalized lm's
Nathaniel Smith
njs at pobox.com
Wed Oct 3 08:40:40 CEST 2007
The lmList function from current (0.99875-8, and svn head) lme4 gives
an error if one attempts to use it for a glm, e.g.:
> lmList(TIME ~ LOGPROB3 | SUBJ, ff, inverse.gaussian(link="identity"))
Error in FUN(X[[1L]], ...) :
unused argument(s) (family = list(family = "inverse.gaussian", link = "identity", linkfun = function (mu)
The problem is in line 53 of lmList.R -- a simple patch against
current svn that fixes this problem is attached.
-- Nathaniel
--
Electrons find their paths in subtle ways.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lmList-glm-fix.patch
Type: text/x-diff
Size: 534 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20071002/5f637270/attachment.bin>
More information about the R-sig-mixed-models
mailing list