glm code bug (PR#224)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 13 Jul 1999 08:37:46 +0200 (MET DST)


On Tue, 13 Jul 1999 Bill.Venables@cmis.csiro.au wrote:

> Peter,

[Peter only fixes most of the bugs....]

> There is a clear and simple bug in glm() that I have noticed in
> 0.64.2 (Windows and Unix) but may have been present in earlier
> versions.

It has a long history: the expand.dots = FALSE was introduced in 0.63, 
but the second call has been wrong for longer.

> The two marked lines should clearly be
> 
>     call <- match.call()
> 
> and
> 
>     mf <- match.call(expand.dots = FALSE)

as in S.

I've committed this for 0.65.0.

We have had various discussions about glm: it is proving very hard to
maintain (that is, find the bugs) and is irritatingly different from S.
One option is to reimplement it.

Brian

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._