Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

update.lmRob

Update an lmRob Model Object


Description

A method for the generic update function 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)

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 refits object using the same formula as in object.

evaluate

a logical value. If TRUE the updated call is evaluated and returned. Otherwise the unevaluated call is returned.

...

additional arguments passed to the generic update function.

Details

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

Value

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

See Also


robust

Port of the S+ "Robust Library"

v0.5-0.0
GPL-2
Authors
Jiahui Wang, Ruben Zamar <ruben@stat.ubc.ca>, Alfio Marazzi <Alfio.Marazzi@inst.hospvd.ch>, Victor Yohai <vyohai@dm.uba.ar>, Matias Salibian-Barrera <matias@stat.ubc.ca>, Ricardo Maronna <maron@mate.unlp.edu.ar>, Eric Zivot <ezivot@u.washington.edu>, David Rocke <dmrocke@ucdavis.edu>, Doug Martin, Martin Maechler <maechler@stat.math.ethz.ch>, Kjell Konis <kjell.konis@me.com>.
Initial release
2020-03-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.