Skip to content
Prev 57296 / 63421 Next

Potential bug in update.formula when updating offsets

Hi all,

update.formula does not seem to correctly update (i.e. remove in my case)
offset terms.

Here is an example:

update(~x + offset(z), ~ . - offset(z))
Also:
update(~x, ~ . - offset(z))
In both cases, I would expect the result
as  - <term>  should remove <term> from the formula as happens for instance
in:

update(~x + z, ~ . - z)
I don't know if this behavior is intentional but I would say it is at least
unfortunate.

Paul