Skip to contents

[Experimental] 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.

Value

Object of class GLM

Author

Martin Haringa