Learn R Programming

insurancerating (version 0.7.5)

update_glm: Refitting Generalized Linear Models

Description

[Experimental] update_glm() is used to refit generalized linear models, and must be preceded by restrict_coef().

Usage

update_glm(x, intercept_only = FALSE)

Value

Object of class GLM

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.

Author

Martin Haringa