Learn R Programming

L1pack (version 0.41)

l1pack.control: Set control parameters

Description

Allows users to set parameters for lad.

Usage

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

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.

Arguments

maxIter

maximum number of iterations. The default is 2000.

tolerance

the relative tolerance in the iterative algorithm.

Examples

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

Run the code above in your browser using DataLab