powered by
Allows users to set parameters for lad.
lad
l1pack.control(maxIter = 2000, tolerance = 1e-9)
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.
l1pack.control
maximum number of iterations. The default is 2000.
the relative tolerance in the iterative algorithm.
ctrl <- l1pack.control(maxIter = 50, tol = 1e-07) lad(stack.loss ~ ., data = stackloss, control = ctrl)
Run the code above in your browser using DataLab