Displaying 1 result from an estimated 1 matches for "afixedeffect".
2004 Mar 26
1
update/offset
I've noticed that the update() function does not seem to work correctly
when offset(..) terms are there:
update(modelwithoffset, .~.-afixedeffect)
drops the offset term.
I'm using this with a negbin model, but I think it goes wrong with the
update.formula() function.
update.formula
function (old, new, ...)
{
env <- environment(as.formula(old))
tmp <- .Internal(update.formula(as.formula(old), as.formula(new)))
out <...