Skip to content

(PR#8049) add1.lm and add1.glm not handling weights and

1 message · Brian Ripley

#
David,

Thanks.

The reason add1.lm (and drop1.lm) do not support offsets is that lm did 
not when they were written, and the person who added offsets to lm did not 
change them. (I do wish they had not added an offset arg and just used the 
formula as in S's glm.)  That is easy to add.

For the other point, some care is needed if 'x' is supplied and the upper 
scope reduces the number of points.  We can try harder, but your usage 
does give a warning and perhaps that needs to be an error in this case.

Brian
On Thu, 4 Aug 2005 d.firth at warwick.ac.uk wrote: