update_glm: Refitting Generalized Linear Models
Description
update_glm()
is used to refit generalized linear models, and must be
preceded by restrict_coef()
.
Usage
update_glm(x, intercept_only = FALSE)
Arguments
- x
Object of class restricted or of class smooth
- intercept_only
Logical. Default is FALSE
. If TRUE
, only
the intercept is updated, ensuring that the changes have no impact on the
other variables.