Learn R Programming

robust (version 0.3-0)

update.lmRob: Update an lmRob Model Object

Description

This is a method for the function update for objects inheriting from class lmRob. See update for the general behavior of this function and for the interpretation of the arguments.

Usage

## S3 method for class 'lmRob':
update(object, formula, evaluate = TRUE, class, ...)

Arguments

object
an lmRob object.
formula
a modeling formula, such as y ~ a + b. A single dot . on either side of the ~ gets replaced by the left or right side of the formula in object. The dot on the left can be omitted. By default, it refit
evaluate
a logical value. If TRUE the updated call is evaluated and returned. Otherwise the unevaluated call is returned.
class
a single character value specifying the fitting class for the new object.
...
additional arguments passed to the generic update function.

Value

  • either a new updated object, or else an unevaluated expression for creating such an object.

Details

If formula is missing, update.lmRob alternates between the initial estimates and final estimates. If formula is present, update.lmRob functions just like update.default.

See Also

lmRob. update.