l1pack.control {L1pack} | R Documentation |
Allows users to set parameters for lad
.
l1pack.control(maxIter = 2000, tolerance = 1e-9)
maxIter |
maximum number of iterations. The default is 2000. |
tolerance |
the relative tolerance in the iterative algorithm. |
A list of control arguments to be used in a call to lad
.
A call to l1pack.control
can be used directly in the control argument
of a call to lad
.
Felipe Osorio.
ctrl <- l1pack.control(maxIter = 50, tol = 1e-07) lad(stack.loss ~ ., data = stackloss, control = ctrl)