refit.glm: Refit linear model / generalized linear model to new response

View source: R/utilities.R

refit.glmR Documentation

Refit linear model / generalized linear model to new response

Description

Refit linear model / generalized linear model to new response

Usage

## S3 method for class 'glm'
refit(object, newresp, ...)

Arguments

object

A glm object

newresp

A new response variable

...

Additional arguments, currently unused

Details

This i a recent addition and is not thoroughly tested.

Value

A refitted model object

Author(s)

Søren Højsgaard


hojsgaard/pbkrtest documentation built on June 13, 2025, 8:33 a.m.