1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
\name{update.lmRob}
\alias{update.lmRob}
\title{Update an lmRob Model Object}
\description{
A method for the generic \code{\link{update}} function for objects
inheriting from class \code{lmRob}. See \code{\link{update}} for the
general behavior of this function and for the interpretation of the
arguments.
}
\usage{
\method{update}{lmRob}(object, formula., \dots, evaluate = TRUE)
}
\arguments{
\item{object}{an lmRob object.}
\item{formula.}{a modeling formula, such as \code{y ~ a + b}. A single dot \code{.} on either side of the \code{~} gets replaced by the left or right side of the formula in \code{object}. The dot on the left can be omitted. By default, it refits object using the same formula as in \code{object}.}
\item{evaluate}{a logical value. If \code{TRUE} the updated call is evaluated and returned. Otherwise the unevaluated call is returned.}
\item{\dots}{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 \code{formula.} is missing, \code{update.lmRob} alternates between
the initial estimates and final estimates. Otherwise (when \code{formula.} is
present), \code{update.lmRob} functions just like
\code{update.default}.
}
\seealso{
\code{\link{lmRob}}.
\code{\link{update}}.
}
\keyword{robust}
\keyword{regression}
\keyword{methods}
|