Perform a model update while removing a chosen factor. Hierarchical corresponds to type "II" sum-of-squares, i.e., obeying marginality, while non-hierarchical corresponds to type "III" sum-of-squares.
update_without_factor(model, fac, hierarchical = TRUE)An updated model object is returned. If the supplied model is of
type lmerMod and no random effects are left, the model is
automatically converted to a linear model before updating.
model object to update.
character factor to remove.
logical obey hierarchy when removing factor (default = TRUE).