R: Set control parameters

l1pack.control {L1pack} | R Documentation

## Set control parameters

### Description

Allows users to set parameters for `lad`.

### Usage

    l1pack.control(maxIter = 2000, tolerance = 1e-9)

### Arguments

`maxIter` | maximum number of iterations. The default is 2000.
`tolerance` | the relative tolerance in the iterative algorithm.

### Value

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`.

### Examples

    ctrl <- l1pack.control(maxIter = 50, tol = 1e-07)
    lad(stack.loss ~ ., data = stackloss, control = ctrl)

[Package L1pack version 0.40 Index]