These are the basic computing engines called by lmRob
used to robustly fit linear models. These functions are not intended to be used directly.
lmRob.fit(x, y, x1.idx = NULL, nrep = NULL, robust.control = NULL, ...)lmRob.wfit(x, y, w, x1.idx = NULL, nrep = NULL, robust.control = NULL, ...)
a numeric matrix containing the design matrix.
a numeric vector containing the linear model response.
a numeric vector containing the weights.
a numeric vector containing the indices of columns of the design matrix arising from the coding of factor variables.
the number of random subsamples to be drawn. If "Exhaustive"
resampling is being used, the value of nrep
is ignored.
a list of control parameters to be used in the numerical algorithms. See lmRob.control
for the possible control parameters and their default settings.
additional arguments.