get_refit {asympDiag}R Documentation

Refit the Model

Description

Refit an existing regression model using a new response variable.

Usage

get_refit(object, newresp, ...)

Arguments

object

A model.

newresp

the new response, may be a vector or a matrix.

...

other arguments passed to refit or update.

Details

This generic method refit the object with the newresp. It shold maintain the object properties by default, but some aspects of the default fitting method may be overwritten with the ....

Value

An updated model object, refitted using the new response variable.

See Also

stats::update(), lme4::refit()


[Package asympDiag version 0.3.1 Index]