Learn R Programming

asympDiag (version 0.3.1)

get_refit: Refit the Model

Description

Refit an existing regression model using a new response variable.

Usage

get_refit(object, newresp, ...)

Value

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

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 ....

See Also