update_glm: Refitting Generalized Linear Models

View source: R/model_refinement.R

update_glmR Documentation

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)

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(s)

Martin Haringa


insurancerating documentation built on Oct. 10, 2024, 1:07 a.m.