Displaying 1 result from an estimated 1 matches for "fit2u".
Did you mean:
fit2
2004 Mar 09
3
update forgets about offset() (PR#6656)
...note: strange things happen when there is more than one offset (OK, there probably shouldn't be, but I thought I'd experiment):
test> fit2 <- glm( y ~ offset( x) + offset( log( x)) + z, data=df)
test> fit2$call
glm(formula = y ~ offset(x) + offset(log(x)) + z, data = df)
test> fit2u <- update( fit2, ~.)
test> fit2u$call
glm(formula = y ~ offset(log(x)) + z, data = df)
Curiously, the 'term.labels' attribute of 'terms(object)' now includes the second offset, but not the first.
*******************************
Mark Bravington
CSIRO (CMIS)
PO Box 1538
Cas...