Allow the user to set some characteristics of the monpol
monotone polynomial fitting algorithm.
Usage
monpol.control(maxiter = 1000, tol = 1e-05,
tol1=1e-10, tol2=1e-07, tolqr=1e-07)
Arguments
maxiter
A positive integer specifying the maximum number of
iterations allowed, used in all algorithms.
tol
A positive numeric value specifying an absolute tolerance
for determining whether entries in the gradient are zero for
algorithms ‘Full’, ‘BCD’, ‘CD1’ and ‘CD2’.
tol1
A positive numeric value, used in algorithm
‘Hawkins’. Any number not smaller than -tol1 is deemed
to be non-negative.
tol2
A positive numeric value, used in algorithm
‘Hawkins’. Any number whose absolute value is smaller than
tol2 is taken to be zero.
tolqr
A positive numeric value, used in algorithm
‘Hawkins’ as tolerance for the QR factorisation of the
design matrix.
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(MonoPoly)
Loading required package: quadprog
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MonoPoly/monpol.control.Rd_%03d_medium.png", width=480, height=480)
> ### Name: monpol.control
> ### Title: Control the Iterations in monpol
> ### Aliases: monpol.control
> ### Keywords: regression models
>
> ### ** Examples
>
> monpol.control(maxiter = 2000)
$maxiter
[1] 2000
$tol
[1] 1e-05
$tol1
[1] 1e-10
$tol2
[1] 1e-07
$tolqr
[1] 1e-07
> monpol.control(tolqr = 1e-10)
$maxiter
[1] 1000
$tol
[1] 1e-05
$tol1
[1] 1e-10
$tol2
[1] 1e-07
$tolqr
[1] 1e-10
>
>
>
>
>
> dev.off()
null device
1
>