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.
Author(s)
Felipe Osorio.
Examples
ctrl <- l1pack.control(maxIter = 50, tol = 1e-07)
lad(stack.loss ~ ., data = stackloss, control = ctrl)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(L1pack)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/L1pack/l1pack.control.Rd_%03d_medium.png", width=480, height=480)
> ### Name: l1pack.control
> ### Title: Set control parameters
> ### Aliases: l1pack.control
> ### Keywords: regression models
>
> ### ** Examples
>
> ctrl <- l1pack.control(maxIter = 50, tol = 1e-07)
> lad(stack.loss ~ ., data = stackloss, control = ctrl)
Call:
lad(formula = stack.loss ~ ., data = stackloss, control = ctrl)
Converged in 7 iterations
Coefficients:
(Intercept) Air.Flow Water.Temp Acid.Conc.
-39.6899 0.8319 0.5739 -0.0609
Degrees of freedom: 21 total; 17 residual
Scale estimate: 2.833893
>
>
>
>
>
> dev.off()
null device
1
>